1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2025-02-17 03:51:06 +01:00

Esclusione esecuzione hook inutilizzati

This commit is contained in:
Beppe 2020-02-07 12:41:54 +01:00
parent a5034e8d0b
commit 6ac418e27f

View File

@ -52,6 +52,7 @@ abstract class CachedManager extends Manager
{
$hook = self::getHook();
if( !empty($hook) ){
// Rimozione cache precedente
$database = database();
$database->delete('zz_hook_cache', [
@ -68,6 +69,7 @@ abstract class CachedManager extends Manager
self::$cache = $results;
self::$is_cached = null;
}
}
public static function isCached()
{