[BUGFIX] Replaced call to deprecated t3lib_div::testInt()
[Packages/TYPO3.CMS.git] / typo3 / sysext / extbase / Classes / Persistence / Storage / Typo3DbBackend.php
index af69e2f..3610b2d 100644 (file)
@@ -1053,7 +1053,7 @@ class Tx_Extbase_Persistence_Storage_Typo3DbBackend implements Tx_Extbase_Persis
                        $clearCacheCommands = t3lib_div::trimExplode(',',strtolower($this->pageTSConfigCache[$storagePage]['TCEMAIN.']['clearCacheCmd']),1);
                        $clearCacheCommands = array_unique($clearCacheCommands);
                        foreach ($clearCacheCommands as $clearCacheCommand)     {
-                               if (t3lib_div::testInt($clearCacheCommand))     {
+                               if (t3lib_utility_Math::canBeInterpretedAsInteger($clearCacheCommand))  {
                                        $pageIdsToClear[] = $clearCacheCommand;
                                }
                        }