[20868] compress large cache

Sigurd Nes <[email protected]>
Newsgroups gmane.comp.web.phpgroupware.cvs
Message-ID <[email protected]>
Revision: 20868
          http://svn.sv.gnu.org/viewvc/?view=rev&root=phpgroupware&revision=20868
Author:   sigurdne
Date:     2009-11-20 22:51:52 +0000 (Fri, 20 Nov 2009)
Log Message:
-----------
compress large cache

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

Modified: people/sigurdne/modules/phpgwapi/trunk/inc/class.menu.inc.php
===================================================================
--- people/sigurdne/modules/phpgwapi/trunk/inc/class.menu.inc.php	2009-11-20 12:41:57 UTC (rev 20867)
+++ people/sigurdne/modules/phpgwapi/trunk/inc/class.menu.inc.php	2009-11-20 22:51:52 UTC (rev 20868)
@@ -57,12 +57,12 @@
 
 			//$menu = null; 
 			$account_id = $GLOBALS['phpgw_info']['user']['account_id'];
-			$menu = phpgwapi_cache::user_get('phpgwapi', 'menu', $account_id);
+			$menu = phpgwapi_cache::user_get('phpgwapi', 'menu', $account_id,true,true);
 
 			if ( !$menu )
 			{
 				$menu = self::load();
-				phpgwapi_cache::user_set('phpgwapi', 'menu', $menu, $account_id);
+				phpgwapi_cache::user_set('phpgwapi', 'menu', $menu, $account_id,true,true);
 			}
 
 			if ( !is_null($mtype) && isset($menu[$mtype]) )
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.