tiny changes

This commit is contained in:
İrfan Evrens
2015-06-30 22:36:23 +03:00
parent 5aa215c235
commit d35e5523a2
4 changed files with 3 additions and 6 deletions

View File

@@ -88,7 +88,7 @@ abstract class AuthorizationCache
public static function isEnabled($config)
{
$value = self::getConfigValue('cache.enabled', $config);
return empty($value) ? false : ((trim($value) == true || trim($value) == 'true') ? true : false);
return empty($value) ? false : ((trim($value) == true || trim($value) == 'true'));
}
/**