You are viewing a plain text version of this content. The canonical link for it is here.
Posted to olio-commits@incubator.apache.org by ak...@apache.org on 2009/02/20 19:13:45 UTC

svn commit: r746342 - /incubator/olio/webapp/php/trunk/classes/CacheSystem.php

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();