From olio-commits-return-78-apmail-incubator-olio-commits-archive=incubator.apache.org@incubator.apache.org Fri Feb 20 19:14:08 2009 Return-Path: Delivered-To: apmail-incubator-olio-commits-archive@minotaur.apache.org Received: (qmail 29271 invoked from network); 20 Feb 2009 19:14:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 Feb 2009 19:14:08 -0000 Received: (qmail 8310 invoked by uid 500); 20 Feb 2009 19:14:08 -0000 Delivered-To: apmail-incubator-olio-commits-archive@incubator.apache.org Received: (qmail 8294 invoked by uid 500); 20 Feb 2009 19:14:08 -0000 Mailing-List: contact olio-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: olio-dev@incubator.apache.org Delivered-To: mailing list olio-commits@incubator.apache.org Received: (qmail 8283 invoked by uid 99); 20 Feb 2009 19:14:08 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Feb 2009 11:14:08 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Feb 2009 19:14:06 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 8EA37238896B; Fri, 20 Feb 2009 19:13:45 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r746342 - /incubator/olio/webapp/php/trunk/classes/CacheSystem.php Date: Fri, 20 Feb 2009 19:13:45 -0000 To: olio-commits@incubator.apache.org From: akara@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20090220191345.8EA37238896B@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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();