[TASK] Remove dummy files in typo3/interfaces/ 89/20389/3
authorWouter Wolters <typo3@wouterwolters.nl>
Wed, 1 May 2013 19:18:54 +0000 (21:18 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Wed, 1 May 2013 19:59:47 +0000 (21:59 +0200)
Change-Id: I87fb4e00b5810d98ac2bc70aa90830e66deb8a88
Resolves: #47798
Related: #47756
Releases: 6.2
Reviewed-on: https://review.typo3.org/20389
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
typo3/interfaces/interface.backend_cacheActionsHook.php [deleted file]
typo3/interfaces/interface.backend_toolbaritem.php [deleted file]
typo3/interfaces/interface.cms_newcontentelementwizarditemshook.php [deleted file]
typo3/interfaces/interface.filelist_editiconshook.php [deleted file]
typo3/interfaces/interface.localrecordlist_actionsHook.php [deleted file]
typo3/sysext/filelist/Classes/FileList.php

diff --git a/typo3/interfaces/interface.backend_cacheActionsHook.php b/typo3/interfaces/interface.backend_cacheActionsHook.php
deleted file mode 100644 (file)
index eb3785f..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-<?php
-/*
- * @deprecated since 6.0, the classname backend_cacheActionsHook and this file is obsolete
- * and will be removed with 6.2. The class was renamed and is now located at:
- * typo3/sysext/backend/Classes/Toolbar/ClearCacheActionsHookInterface.php
- */
-require_once \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('backend') . 'Classes/Toolbar/ClearCacheActionsHookInterface.php';
-?>
\ No newline at end of file
diff --git a/typo3/interfaces/interface.backend_toolbaritem.php b/typo3/interfaces/interface.backend_toolbaritem.php
deleted file mode 100644 (file)
index ff08705..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-<?php
-/*
- * @deprecated since 6.0, the classname backend_toolbarItem and this file is obsolete
- * and will be removed with 6.2. The class was renamed and is now located at:
- * typo3/sysext/backend/Classes/Toolbar/ToolbarItemHookInterface.php
- */
-require_once \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('backend') . 'Classes/Toolbar/ToolbarItemHookInterface.php';
-?>
\ No newline at end of file
diff --git a/typo3/interfaces/interface.cms_newcontentelementwizarditemshook.php b/typo3/interfaces/interface.cms_newcontentelementwizarditemshook.php
deleted file mode 100644 (file)
index c98c0d1..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-<?php
-/*
- * @deprecated since 6.0, the classname cms_newContentElementWizardsHook and this file is obsolete
- * and will be removed with 6.2. The class was renamed and is now located at:
- * typo3/sysext/backend/Classes/Wizard/NewContentElementWizardHookInterface.php
- */
-require_once \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('backend') . 'Classes/Wizard/NewContentElementWizardHookInterface.php';
-?>
\ No newline at end of file
diff --git a/typo3/interfaces/interface.filelist_editiconshook.php b/typo3/interfaces/interface.filelist_editiconshook.php
deleted file mode 100644 (file)
index 7d1fdba..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-<?php
-/*
- * @deprecated since 6.0, the classname fileList_editIconHook and this file is obsolete
- * and will be removed with 6.2. The class was renamed and is now located at:
- * typo3/sysext/file_list/Classes/FileListEditIconHookInterface.php
- */
-require_once \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('filelist') . 'Classes/FileListEditIconHookInterface.php';
-?>
\ No newline at end of file
diff --git a/typo3/interfaces/interface.localrecordlist_actionsHook.php b/typo3/interfaces/interface.localrecordlist_actionsHook.php
deleted file mode 100644 (file)
index b61fc06..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-<?php
-/*
- * @deprecated since 6.0, the classname localRecordList_actionsHook and this file is obsolete
- * and will be removed with 6.2. The class was renamed and is now located at:
- * typo3/sysext/recordlist/Classes/RecordList/RecordListHookInterface.php
- */
-require_once \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('recordlist') . 'Classes/RecordList/RecordListHookInterface.php';
-?>
\ No newline at end of file
index 87920f1..da46ad6 100644 (file)
@@ -771,7 +771,10 @@ class FileList extends \TYPO3\CMS\Backend\RecordList\AbstractRecordList {
                        foreach ($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['fileList']['editIconsHook'] as $classData) {
                                $hookObject = \TYPO3\CMS\Core\Utility\GeneralUtility::getUserObj($classData);
                                if (!$hookObject instanceof \TYPO3\CMS\Filelist\FileListEditIconHookInterface) {
-                                       throw new \UnexpectedValueException('$hookObject must implement interface fileList_editIconHook', 1235225797);
+                                       throw new \UnexpectedValueException(
+                                               '$hookObject must implement interface \\TYPO3\\CMS\\Filelist\\FileListEditIconHookInterface',
+                                               1235225797
+                                       );
                                }
                                $hookObject->manipulateEditIcons($cells, $this);
                        }