incubator-olio-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ak...@apache.org
Subject svn commit: r746342 - /incubator/olio/webapp/php/trunk/classes/CacheSystem.php
Date Fri, 20 Feb 2009 19:13:45 GMT
Author: akara
Date: Fri Feb 20 19:13:45 2009
New Revision: 746342

URL: http://svn.apache.org/viewvc?rev=746342&view=rev
Log:
Issue OLIO-3: Simplified test for isCachingActive()

Modified:
    incubator/olio/webapp/php/trunk/classes/CacheSystem.php

Modified: incubator/olio/webapp/php/trunk/classes/CacheSystem.php
URL: http://svn.apache.org/viewvc/incubator/olio/webapp/php/trunk/classes/CacheSystem.php?rev=746342&r1=746341&r2=746342&view=diff
==============================================================================
--- incubator/olio/webapp/php/trunk/classes/CacheSystem.php (original)
+++ incubator/olio/webapp/php/trunk/classes/CacheSystem.php Fri Feb 20 19:13:45 2009
@@ -26,7 +26,7 @@
 
     static function isCachingActive()
     {
-        return !(Web20::$config['cacheSystem'] == 'NoCache');
+        return Web20::$config['cacheSystem'] != 'NoCache';
     }
     
     abstract function flush();



Mime
View raw message