From: Markus Klein Date: Tue, 25 Sep 2012 07:36:44 +0000 (+0200) Subject: [TASK] Remove deprecated code X-Git-Tag: TYPO3_6-2-0alpha1~18^2~8 X-Git-Url: http://git.typo3.org/Packages/TYPO3.CMS.git/commitdiff_plain/2bc05bc5407fbd9d28390be5b0fc362ae57e87a8 [TASK] Remove deprecated code Remove all code that was marked for removal in version 6.0. Resolves: #39137 Related: #37081 Releases: 6.1 Change-Id: I1cc7d27506effef0fd0458ac59f4107e5431b2b2 Reviewed-on: https://review.typo3.org/15019 Reviewed-by: Christian Kuhn Tested-by: Christian Kuhn --- diff --git a/typo3/sysext/workspaces/Classes/Hook/BackendUtilityHook.php b/typo3/sysext/workspaces/Classes/Hook/BackendUtilityHook.php index ab61cb044e1b..f06825dba748 100644 --- a/typo3/sysext/workspaces/Classes/Hook/BackendUtilityHook.php +++ b/typo3/sysext/workspaces/Classes/Hook/BackendUtilityHook.php @@ -61,20 +61,6 @@ class BackendUtilityHook implements \TYPO3\CMS\Core\SingletonInterface { } } - /** - * Find the Live-Uid for a given page, - * the results are cached at run-time to avoid too many database-queries - * - * @throws \InvalidArgumentException - * @param integer $uid - * @return integer - * @deprecated since TYPO3 4.6 - use Tx_Workspaces_Service_Workspaces::getLivePageUid() instead - */ - protected function getLivePageUid($uid) { - \TYPO3\CMS\Core\Utility\GeneralUtility::deprecationLog(__METHOD__ . ' is deprected since TYPO3 4.6 - use TYPO3\\CMS\\Workspaces\\Service\\WorkspaceService::getLivePageUid() instead'); - return $this->getWorkspaceService()->getLivePageUid($uid); - } - /** * Gets an instance of the workspaces service. *