mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-29 16:54:06 +02:00
DbObject: temporarily disable prefetch cache
This commit is contained in:
parent
a0b5e79115
commit
a09e1d638c
@ -879,6 +879,9 @@ abstract class DbObject
|
|||||||
|
|
||||||
protected static function hasPrefetched($key)
|
protected static function hasPrefetched($key)
|
||||||
{
|
{
|
||||||
|
// TODO: temporarily disabled as of collisions with services
|
||||||
|
return false;
|
||||||
|
|
||||||
$class = get_called_class();
|
$class = get_called_class();
|
||||||
if (array_key_exists($class, self::$prefetched)) {
|
if (array_key_exists($class, self::$prefetched)) {
|
||||||
return array_key_exists($key, self::$prefetched[$class]);
|
return array_key_exists($key, self::$prefetched[$class]);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user