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:
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…
x
Reference in New Issue
Block a user