add return statement in clear cache method

This commit is contained in:
Manuel Raynaud
2013-09-16 09:02:48 +02:00
parent 0d0d542d8b
commit 6120d4e69d

View File

@@ -37,10 +37,11 @@ class ConfigQuery extends BaseConfigQuery {
if($key) {
if(array_key_exists($key, self::$cache)) {
unset(self::$cache[$key]);
return true;
}
} else {
self::$cache = array();
}
self::$cache = array();
return true;
}
public static function getDefaultLangWhenNoTranslationAvailable()