[eGroupWare-svn] r55918 - /trunk/jdots/inc/class.jdots_framework.inc.php

[email protected] Thu, 28 Apr 2016 16:23:30 -0000
Newsgroups gmane.comp.web.egroupware.cvs
Message-ID <[email protected]>
Author: ralfbecker
Date: Thu Apr 28 18:23:30 2016
New Revision: 55918

URL: http://svn.stylite.de/viewvc/egroupware?rev=55918&view=rev
Log:
use add method instead of deprecated and not in Api\Preferences existing method change

Modified:
    trunk/jdots/inc/class.jdots_framework.inc.php

Modified: trunk/jdots/inc/class.jdots_framework.inc.php
URL: http://svn.stylite.de/viewvc/egroupware/trunk/jdots/inc/class.jdots_framework.inc.php?rev=55918&r1=55917&r2=55918&view=diff
==============================================================================
--- trunk/jdots/inc/class.jdots_framework.inc.php (original)
+++ trunk/jdots/inc/class.jdots_framework.inc.php Thu Apr 28 18:23:30 2016
@@ -804,7 +804,7 @@
 
 		//Store the order array inside the common user Api\Preferences
 		$GLOBALS['egw']->preferences->read_repository();
-		$GLOBALS['egw']->preferences->change('common', 'user_apporder', serialize($order));
+		$GLOBALS['egw']->preferences->add('common', 'user_apporder', serialize($order));
 		$GLOBALS['egw']->preferences->save_repository(true);
 	}
 
@@ -952,8 +952,8 @@
 		if ($store_prefs)
 		{
 			$GLOBALS['egw']->preferences->read_repository();
-			$GLOBALS['egw']->preferences->change('common', 'open_tabs', implode(',',$open_tabs));
-			$GLOBALS['egw']->preferences->change('common', 'active_tab', $active_tab);
+			$GLOBALS['egw']->preferences->add('common', 'open_tabs', implode(',',$open_tabs));
+			$GLOBALS['egw']->preferences->add('common', 'active_tab', $active_tab);
 			$GLOBALS['egw']->preferences->save_repository(true);
 		}
 


------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z