DbObject: temporarily disable prefetch cache

This commit is contained in:
Thomas Gelf 2015-12-18 16:54:46 +01:00
parent a0b5e79115
commit a09e1d638c
1 changed files with 3 additions and 0 deletions

View File

@ -879,6 +879,9 @@ abstract class DbObject
protected static function hasPrefetched($key)
{
// TODO: temporarily disabled as of collisions with services
return false;
$class = get_called_class();
if (array_key_exists($class, self::$prefetched)) {
return array_key_exists($key, self::$prefetched[$class]);