[20869] Tuning - using files for cache rather than db

Sigurd Nes <[email protected]>
Newsgroups gmane.comp.web.phpgroupware.cvs
Message-ID <[email protected]>
Revision: 20869
          http://svn.sv.gnu.org/viewvc/?view=rev&root=phpgroupware&revision=20869
Author:   sigurdne
Date:     2009-11-20 23:07:54 +0000 (Fri, 20 Nov 2009)
Log Message:
-----------
Tuning - using files for cache rather than db

Modified Paths:
--------------
    people/sigurdne/modules/phpgwapi/trunk/inc/class.cache.inc.php

Modified: people/sigurdne/modules/phpgwapi/trunk/inc/class.cache.inc.php
===================================================================
--- people/sigurdne/modules/phpgwapi/trunk/inc/class.cache.inc.php	2009-11-20 22:51:52 UTC (rev 20868)
+++ people/sigurdne/modules/phpgwapi/trunk/inc/class.cache.inc.php	2009-11-20 23:07:54 UTC (rev 20869)
@@ -311,7 +311,7 @@
 		 */
 		public static function user_clear($module, $id, $uid)
 		{
-			$db = true;
+			$db = false;
 			if($db)
 			{
 				return self::_user_clear_db($module, $id, $uid);
@@ -332,7 +332,7 @@
 		 */
 		public static function user_get($module, $id, $uid, $bypass = true, $compress = false)
 		{
-			$db = true;
+			$db = false;
 			if($db)
 			{
 				return self::_user_get_db($module, $id, $uid, $bypass, $compress);
@@ -354,7 +354,7 @@
 		 */
 		public static function user_set($module, $id, $value, $uid, $bypass = true, $compress = false)
 		{
-			$db = true;
+			$db = false;
 			if($db)
 			{
 				return self::_user_set_db($module, $id, $value, $uid, $bypass, $compress);
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.