[CLEANUP] Reomve calls to ExtensionManagementUtility::isLoaded(cms) 64/33964/2
authorGeorg Ringer <georg.ringer@gmail.com>
Mon, 10 Nov 2014 20:14:25 +0000 (21:14 +0100)
committerWouter Wolters <typo3@wouterwolters.nl>
Mon, 10 Nov 2014 20:21:17 +0000 (21:21 +0100)
The sysext cms is always loaded, no need for extra checks

Resolves: #62838
Releases: master
Change-Id: I7812b015516df78837de41fa2b5f1f6f375307f8
Reviewed-on: http://review.typo3.org/33964
Reviewed-by: Frank Nägler <typo3@naegler.net>
Tested-by: Frank Nägler <typo3@naegler.net>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/cms/layout/db_layout.php
typo3/sysext/cms/layout/db_new_content_el.php

index 232e91b..5817bfa 100644 (file)
@@ -27,8 +27,6 @@ $LANG->includeLLFile('EXT:cms/layout/locallang.xlf');
 $BE_USER->modAccess($MCONF, 1);
 // Will open up records locked by current user. It's assumed that the locking should end if this script is hit.
 \TYPO3\CMS\Backend\Utility\BackendUtility::lockRecords();
-// Exits if 'cms' extension is not loaded:
-\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::isLoaded('cms', 1);
 /**
  * Local extension of position map class
  *
index ac46379..1bdef1d 100644 (file)
@@ -29,8 +29,6 @@ $LOCAL_LANG_orig = $LOCAL_LANG;
 $LANG->includeLLFile('EXT:cms/layout/locallang_db_new_content_el.xlf');
 \TYPO3\CMS\Core\Utility\ArrayUtility::mergeRecursiveWithOverrule($LOCAL_LANG_orig, $LOCAL_LANG);
 $LOCAL_LANG = $LOCAL_LANG_orig;
-// Exits if 'cms' extension is not loaded:
-\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::isLoaded('cms', 1);
 /**
  * Local position map class
  *