[TASK] Remove class.* from /typo3/ 84/21284/6
authorFelix Kopp <felix-source@phorax.com>
Fri, 7 Jun 2013 12:38:19 +0000 (14:38 +0200)
committerAnja Leichsenring <aleichsenring@ab-softlab.de>
Sat, 22 Jun 2013 12:18:50 +0000 (14:18 +0200)
Removes last few class file wrappers from /typo3/ folder.
Those files were renamed and moved during namespacing.

Few references are adapted in comments only.
- Please also see removed require_once statement.

Change-Id: I25a33aea5adde12ce1bca35e1473ccc1d6ed41b0
Resolves: #48942
Releases: 6.2
Reviewed-on: https://review.typo3.org/21284
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
13 files changed:
typo3/class.db_list.inc [deleted file]
typo3/class.db_list_extra.inc [deleted file]
typo3/class.file_list.inc [deleted file]
typo3/class.filelistfoldertree.php [deleted file]
typo3/class.show_rechis.inc [deleted file]
typo3/class.webpagetree.php [deleted file]
typo3/sysext/backend/Classes/Form/Element/InlineElement.php
typo3/sysext/backend/Classes/View/PageLayoutView.php
typo3/sysext/core/Classes/Utility/File/BasicFileUtility.php
typo3/sysext/dbal/Classes/RecordList/DatabaseRecordList.php
typo3/sysext/recordlist/Classes/RecordList/AbstractDatabaseRecordList.php
typo3/sysext/recordlist/Classes/RecordList/DatabaseRecordList.php
typo3/sysext/workspaces/Classes/Service/HistoryService.php

diff --git a/typo3/class.db_list.inc b/typo3/class.db_list.inc
deleted file mode 100644 (file)
index 069d8ef..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-<?php
-/*
- * @deprecated since 6.0, the classname recordList 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/AbstractDatabaseRecordList.php
- */
-require_once \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('recordlist') . 'Classes/RecordList/AbstractDatabaseRecordList.php';
-?>
\ No newline at end of file
diff --git a/typo3/class.db_list_extra.inc b/typo3/class.db_list_extra.inc
deleted file mode 100644 (file)
index 45c9a93..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-<?php
-/*
- * @deprecated since 6.0, the classname localRecordList 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/DatabaseRecordList.php
- */
-require_once \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('recordlist') . 'Classes/RecordList/DatabaseRecordList.php';
-?>
\ No newline at end of file
diff --git a/typo3/class.file_list.inc b/typo3/class.file_list.inc
deleted file mode 100644 (file)
index 33b61e5..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-<?php
-/*
- * @deprecated since 6.0, the classname fileList 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/FileList.php
- */
-require_once \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('filelist') . 'Classes/FileList.php';
-?>
\ No newline at end of file
diff --git a/typo3/class.filelistfoldertree.php b/typo3/class.filelistfoldertree.php
deleted file mode 100644 (file)
index 5bfdfc0..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-<?php
-/*
- * @deprecated since 6.0, the classname filelistFolderTree 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/FileListFolderTree.php
- */
-require_once \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('filelist') . 'Classes/FileListFolderTree.php';
-?>
\ No newline at end of file
diff --git a/typo3/class.show_rechis.inc b/typo3/class.show_rechis.inc
deleted file mode 100644 (file)
index c205027..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-<?php
-/*
- * @deprecated since 6.0, the classname recordHistory 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/History/RecordHistory.php
- */
-require_once \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('backend') . 'Classes/History/RecordHistory.php';
-?>
\ No newline at end of file
diff --git a/typo3/class.webpagetree.php b/typo3/class.webpagetree.php
deleted file mode 100644 (file)
index 3031abd..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-<?php
-/*
- * @deprecated since 6.0, the classname webPageTree 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/View/PageTreeView.php
- */
-require_once \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('backend') . 'Classes/View/PageTreeView.php';
-?>
\ No newline at end of file
index 845d65b..c4dd9b3 100644 (file)
@@ -581,7 +581,8 @@ class InlineElement {
 
        /**
         * Render the control-icons for a record header (create new, sorting, delete, disable/enable).
-        * Most of the parts are copy&paste from class.db_list_extra.inc and modified for the JavaScript calls here
+        * Most of the parts are copy&paste from TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList and
+        * modified for the JavaScript calls here
         *
         * @param string $parentUid The uid of the parent (embedding) record (uid or NEW...)
         * @param string $foreign_table The table (foreign_table) we create control-icons for
index 99741f6..6eba857 100644 (file)
@@ -33,7 +33,8 @@ use TYPO3\CMS\Core\Messaging\FlashMessage;
 use TYPO3\CMS\Core\Utility\GeneralUtility;
 
 /**
- * Include file extending db_list.inc for use with the web_layout module
+ * Include file extending \TYPO3\CMS\Recordlist\RecordList\AbstractDatabaseRecordList
+ * for use with the web_layout module
  *
  * Revised for TYPO3 3.6 November/2003 by Kasper Skårhøj
  * XHTML compliant
index 44ab443..8cd207e 100644 (file)
@@ -158,7 +158,7 @@ class BasicFileUtility {
         * - writable           : is file writeable by web user (FALSE = yes; TRUE = no) *)
         * - readable           : is file readable by web user (FALSE = yes; TRUE = no) *)
         *
-        * ) logic is reversed because of handling by functions in class.file_list.inc
+        * ) logic is reversed because of handling by functions in TYPO3\CMS\Filelist\FileList
         *
         * @param       string          Filepath to existing file. Should probably be absolute. Filefunctions are performed on this value.
         * @return      array           Information about the file in the filepath
index 22a0335..204cac4 100644 (file)
@@ -34,7 +34,7 @@ namespace TYPO3\CMS\Dbal\RecordList;
  * @author     Karsten Dambekalns <k.dambekalns@fishfarm.de>
  */
 /**
- * Child class for rendering of Web > List (not the final class. see class.db_list_extra)
+ * Child class for rendering of Web > List (not the final class)
  *
  * @author     Kasper Skårhøj <kasperYYYY@typo3.com>
  * @author     Karsten Dambekalns <k.dambekalns@fishfarm.de>
index ec95589..4bafdf3 100644 (file)
@@ -27,7 +27,7 @@ namespace TYPO3\CMS\Recordlist\RecordList;
  *  This copyright notice MUST APPEAR in all copies of the script!
  ***************************************************************/
 /**
- * Child class for rendering of Web > List (not the final class. see class.db_list_extra)
+ * Child class for rendering of Web > List (not the final class.
  * Shared between Web>List (db_list.php) and Web>Page (sysext/cms/layout/db_layout.php)
  *
  * @author Kasper Skårhøj <kasperYYYY@typo3.com>
index 19c6916..e096b24 100644 (file)
@@ -375,16 +375,19 @@ class DatabaseRecordList extends \TYPO3\CMS\Recordlist\RecordList\AbstractDataba
                        // Get the two previous rows for sorting if displaying page > 1
                        $this->firstElementNumber = $this->firstElementNumber - 2;
                        $this->iLimit = $this->iLimit + 2;
-                       // (API function from class.db_list.inc)
+                       // (API function from TYPO3\CMS\Recordlist\RecordList\AbstractDatabaseRecordList)
                        $queryParts = $this->makeQueryArray($table, $id, $addWhere, $selFieldList);
                        $this->firstElementNumber = $this->firstElementNumber + 2;
                        $this->iLimit = $this->iLimit - 2;
                } else {
-                       // (API function from class.db_list.inc)
+                       // (API function from TYPO3\CMS\Recordlist\RecordList\AbstractDatabaseRecordList)
                        $queryParts = $this->makeQueryArray($table, $id, $addWhere, $selFieldList);
                }
-               // Finding the total amount of records on the page (API function from class.db_list.inc)
+
+               // Finding the total amount of records on the page
+               // (API function from TYPO3\CMS\Recordlist\RecordList\AbstractDatabaseRecordList)
                $this->setTotalItems($queryParts);
+
                // Init:
                $dbCount = 0;
                $out = '';
index 9cd3ed6..109478a 100644 (file)
@@ -52,7 +52,6 @@ class HistoryService implements \TYPO3\CMS\Core\SingletonInterface {
         * Creates this object.
         */
        public function __construct() {
-               require_once PATH_typo3 . 'class.show_rechis.inc';
                $this->backendUserNames = \TYPO3\CMS\Backend\Utility\BackendUtility::getUserNames();
        }