* stop using global $cache variable, use Singleton pattern instead

This commit is contained in:
slawkens
2018-06-03 17:09:21 +02:00
parent 45a387000d
commit fb1b9fea09
10 changed files with 99 additions and 61 deletions

View File

@@ -57,7 +57,7 @@ class OTS_Groups_List implements IteratorAggregate, Countable
return;
}
global $cache;
$cache = Cache::getInstance();
$data = array();
if($cache->enabled())