[BUGFIX] Class "\extDirect_DataProvider_BackenduserSettings" not found 29/24829/4
authorDmitry Dulepov <dmitry.dulepov@gmail.com>
Wed, 16 Oct 2013 09:00:25 +0000 (13:00 +0400)
committerWouter Wolters <typo3@wouterwolters.nl>
Wed, 16 Oct 2013 17:05:03 +0000 (19:05 +0200)
A error message is displayed in the Backend. Replace the old class name
with its new name.

Change-Id: Id88b5ff3d315362e7eaf64cc1f33a74b7fd2a84c
Resolves: #52880
Releases: 6.2
Reviewed-on: https://review.typo3.org/24829
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
typo3/sysext/backend/Classes/InterfaceState/ExtDirect/DataProvider.php
typo3/sysext/backend/Classes/Tree/Pagetree/ExtdirectTreeCommands.php

index 9837e93..b0f9f3a 100644 (file)
@@ -43,7 +43,9 @@ class DataProvider {
         */
        public function __construct() {
                // All data is saved in BE_USER->uc
-               $this->userSettings = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('extDirect_DataProvider_BackenduserSettings');
+               $this->userSettings = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(
+                       'TYPO3\\CMS\\Backend\\User\\ExtDirect\\BackendUserSettingsDataProvider'
+               );
        }
 
        /**
index d0b1ea3..0122d0a 100644 (file)
@@ -357,8 +357,8 @@ class ExtdirectTreeCommands {
                }
                $mountPoints[] = intval($GLOBALS['BE_USER']->uc['pageTree_temporaryMountPoint']);
                $mountPoints = array_unique($mountPoints);
-               /** @var $userSettings extDirect_DataProvider_BackenduserSettings */
-               $userSettings = GeneralUtility::makeInstance('extDirect_DataProvider_BackenduserSettings');
+               /** @var $userSettings \TYPO3\CMS\Backend\User\ExtDirect\BackendUserSettingsDataProvider */
+               $userSettings = GeneralUtility::makeInstance('TYPO3\\CMS\\Backend\\User\\ExtDirect\\BackendUserSettingsDataProvider');
                $state = $userSettings->get('BackendComponents.States.' . $stateId);
                $state->stateHash = (object) $state->stateHash;
                $rootline = BackendUtility::BEgetRootLine($nodeId, '', $GLOBALS['BE_USER']->workspace != 0);