Escape some backslashes in class names
authorstan <stan@735d13b6-9817-0410-8766-e36946ffe9aa>
Tue, 10 Feb 2015 05:16:03 +0000 (05:16 +0000)
committerstan <stan@735d13b6-9817-0410-8766-e36946ffe9aa>
Tue, 10 Feb 2015 05:16:03 +0000 (05:16 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/static_info_tables/trunk@88347 735d13b6-9817-0410-8766-e36946ffe9aa

ChangeLog
Classes/Cache/CachedClassLoader.php
Classes/Cache/ClassCacheManager.php

index b1e84a2..823ab46 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2015-02-10  Stanislas Rolland  <typo3@sjbr.ca>
+
+       * Escape some backslashes in class names
+
 2014-12-09  Stanislas Rolland  <typo3@sjbr.ca>
 
        * Fix for TYPO3 CMS 7.0
index d6997a6..41dd4ab 100644 (file)
@@ -85,7 +85,7 @@ class CachedClassLoader {
                        foreach ($entities as $entity) {
                                if ($className === static::$namespace . $entity) {
                                        $entryIdentifier = 'DomainModel' . $entity;
-                                       $cacheManager = GeneralUtility::makeInstance('TYPO3\CMS\Core\Cache\CacheManager');
+                                       $cacheManager = GeneralUtility::makeInstance('TYPO3\\CMS\\Core\\Cache\\CacheManager');
                                        $classCache = $cacheManager->getCache(static::$extensionKey);
                                        if (!$classCache->has($entryIdentifier)) {
                                                // The class cache needs to be rebuilt
index 399566c..91da1d7 100644 (file)
@@ -53,7 +53,7 @@ class ClassCacheManager {
         * @return void
         */
        protected function initializeCache() {
-               $cacheManager = GeneralUtility::makeInstance('TYPO3\CMS\Core\Cache\CacheManager');
+               $cacheManager = GeneralUtility::makeInstance('TYPO3\\CMS\\Core\\Cache\\CacheManager');
                if ($cacheManager->hasCache($this->extensionKey)) {
                        $this->cacheInstance = $cacheManager->getCache($this->extensionKey);
                } else {