Import of version 2.1.0 from TER
authorstephenking <stephenking@735d13b6-9817-0410-8766-e36946ffe9aa>
Sun, 19 Jun 2011 19:46:25 +0000 (19:46 +0000)
committerstephenking <stephenking@735d13b6-9817-0410-8766-e36946ffe9aa>
Sun, 19 Jun 2011 19:46:25 +0000 (19:46 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/stg_clearcache/trunk@48898 735d13b6-9817-0410-8766-e36946ffe9aa

class.tx_stgclearcache.php
ext_emconf.php

index f3c87a7..a257418 100755 (executable)
@@ -46,9 +46,6 @@ class tx_stgclearcache {
        /* @var $queryGeneratorInstance t3lib_queryGenerator */
        var $queryGeneratorInstance;
 
-       /* @var $tceMainInstance t3lib_TCEmain */
-       var $tceMainInstance;
-
        /* @var $id Page ID */
        var $id;
 
@@ -66,9 +63,6 @@ class tx_stgclearcache {
                        if ($this->queryGeneratorInstance == null) {
                                $this->queryGeneratorInstance = t3lib_div::makeInstance('t3lib_queryGenerator');
                        }
-                       if ($this->tceMainInstance == null) {
-                               $this->tceMainInstance = t3lib_div::makeInstance('t3lib_TCEmain');
-                       }
 
                        $this->id = $params['cacheCmd'];
 
@@ -91,7 +85,7 @@ class tx_stgclearcache {
                                // we know $params['cacheCmd'] is returned from getTreeList again, but we
                                // don't want to end in recursive loop
                                if ($page != $params['cacheCmd']) {
-                                       $this->tceMainInstance->clear_cacheCmd($page);
+                                       $pObj->clear_cacheCmd($page);
                                }
                        }
                }
index 5aa1647..13291ef 100755 (executable)
@@ -3,7 +3,7 @@
 ########################################################################
 # Extension Manager/Repository config file for ext "stg_clearcache".
 #
-# Auto generated 11-02-2010 22:52
+# Auto generated 08-01-2011 13:31
 #
 # Manual updates:
 # Only the data in the array - everything else is removed by next
@@ -15,7 +15,7 @@ $EM_CONF[$_EXTKEY] = array(
        'description' => '"Clear cache for this page" now also affects child pages. This is helpful in bigger installations, where you can\'t/don\'t want to enable users to clear the cache of the whole server.',
        'category' => 'be',
        'shy' => 0,
-       'version' => '2.1.0',
+       'version' => '2.1.1',
        'dependencies' => '',
        'conflicts' => '',
        'priority' => '',
@@ -41,7 +41,7 @@ $EM_CONF[$_EXTKEY] = array(
                'suggests' => array(
                ),
        ),
-       '_md5_values_when_last_written' => 'a:8:{s:9:"ChangeLog";s:4:"b49c";s:26:"class.tx_stgclearcache.php";s:4:"860d";s:16:"ext_autoload.php";s:4:"97af";s:12:"ext_icon.gif";s:4:"934f";s:17:"ext_localconf.php";s:4:"890b";s:15:"ext_php_api.dat";s:4:"2dcb";s:13:"locallang.xml";s:4:"310c";s:14:"doc/manual.sxw";s:4:"7504";}',
+       '_md5_values_when_last_written' => 'a:8:{s:9:"ChangeLog";s:4:"b49c";s:26:"class.tx_stgclearcache.php";s:4:"dc18";s:16:"ext_autoload.php";s:4:"97af";s:12:"ext_icon.gif";s:4:"934f";s:17:"ext_localconf.php";s:4:"890b";s:15:"ext_php_api.dat";s:4:"2dcb";s:13:"locallang.xml";s:4:"310c";s:14:"doc/manual.sxw";s:4:"7504";}',
        'suggests' => array(
        ),
 );