Преглед на файлове

#4936 Clear service calls cache method

Alex Trofimov преди 1 година
родител
ревизия
ce7a612053
променени са 1 файла, в които са добавени 5 реда и са изтрити 0 реда
  1. 5 0
      inc/classes/BxDolService.php

+ 5 - 0
inc/classes/BxDolService.php

@@ -169,6 +169,11 @@ class BxDolService extends BxDol
             $aModule = $oDb->getModuleById($mixed);
             $aModule = $oDb->getModuleById($mixed);
         return $aModule;
         return $aModule;
     }
     }
+
+    public static function cleanMemoryCache()
+    {
+        self::$_aMemoryCache = [];
+    }
 }
 }
 
 
 /** @} */
 /** @} */