Esclusione esecuzione hook inutilizzati
This commit is contained in:
parent
a5034e8d0b
commit
6ac418e27f
|
@ -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()
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue