public static function reset_caches($phpunitreset = false) {
        if ($phpunitreset) {
            static::$singletoninstance = null;
        } else {
            if (static::$singletoninstance) {
                static::$singletoninstance->pluginsinfo = null;
                static::$singletoninstance->subpluginsinfo = null;
                static::$singletoninstance->remotepluginsinfoatleast = null;
                static::$singletoninstance->remotepluginsinfoexact = null;
                static::$singletoninstance->installedplugins = null;
                static::$singletoninstance->enabledplugins = null;
                static::$singletoninstance->presentplugins = null;
                static::$singletoninstance->plugintypes = null;
                static::$singletoninstance->codemanager = null;
                static::$singletoninstance->updateapiclient = null;
            }
        }
        $cache = cache::make('core', 'plugin_manager');
        $cache->purge();
    }
public static function reset_caches($phpunitreset = false) {
        if ($phpunitreset) {
            static::$singletoninstance = null;
        } else {
            if (static::$singletoninstance) {
                static::$singletoninstance->pluginsinfo = null;
                static::$singletoninstance->subpluginsinfo = null;
                static::$singletoninstance->remotepluginsinfoatleast = null;
                static::$singletoninstance->remotepluginsinfoexact = null;
                static::$singletoninstance->installedplugins = null;
                static::$singletoninstance->enabledplugins = null;
                static::$singletoninstance->presentplugins = null;
                static::$singletoninstance->plugintypes = null;
                static::$singletoninstance->codemanager = null;
                static::$singletoninstance->updateapiclient = null;
            }
        }
        $cache = cache::make('core', 'plugin_manager');
        $cache->purge();
    }
public static function reset_caches ( $ phpunitreset = false ) { if ( $ phpunitreset ) { static :: $ singletoninstance = null ; } else { if ( static :: $ singletoninstance ) { static :: $ singletoninstance -> pluginsinfo = null ; static :: $ singletoninstance -> subpluginsinfo = null ; static :: $ singletoninstance -> remotepluginsinfoatleast = null ; static :: $ singletoninstance -> remotepluginsinfoexact = null ; static :: $ singletoninstance -> installedplugins = null ; static :: $ singletoninstance -> enabledplugins = null ; static :: $ singletoninstance -> presentplugins = null ; static :: $ singletoninstance -> plugintypes = null ; static :: $ singletoninstance -> codemanager = null ; static :: $ singletoninstance -> updateapiclient = null ; } } $ cache = cache :: make ( 'core' , 'plugin_manager' ) ; $ cache -> purge ( ) ; }
Reset all caches.
@param bool $phpunitreset
Reset all caches .