Browse Source

#4936 Clear service calls cache method

Alex Trofimov 1 year ago
parent
commit
ce7a612053
1 changed files with 5 additions and 0 deletions
  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);
         return $aModule;
     }
+
+    public static function cleanMemoryCache()
+    {
+        self::$_aMemoryCache = [];
+    }
 }
 
 /** @} */