Author: ralfbecker
New Revision: 55919
URL: http://svn.stylite.de/viewvc/egroupware?rev=55919&view=rev
Log:
use add method instead of deprecated and not in Api\Preferences existing method change
Modified:
trunk/sitemgr/inc/class.Sites_BO.inc.php
trunk/sitemgr/lang/ (props changed)
trunk/sitemgr/sitemgr-link.php
trunk/sitemgr/sitemgr-site/inc/class.site_controler.inc.php
trunk/sitemgr/sitemgr-site/index.php
— trunk/sitemgr/inc/class.Sites_BO.inc.php (original)
+++ trunk/sitemgr/inc/class.Sites_BO.inc.php Thu Apr 28 18:26:46 2016
@@ -219,7 +219,7 @@
if ($siteswitch)
{
$this->current_site = $this->read($siteswitch);
@@ -237,7 +237,7 @@
if ($allsites)
{
$this->current_site = $this->read($allsites[0]);
@@ -280,7 +280,7 @@
{
$allsites = $this->so->list_siteids();
$info = $this->so->read2($allsites[0]);
Propchange: trunk/sitemgr/lang/
— svn:ignore (added)
+++ svn:ignore Thu Apr 28 18:26:46 2016
@@ -1,0 +1,39 @@
+egw_bg.lang.old
+egw_ca.lang.old
+egw_cs.lang.old
+egw_da.lang.old
+egw_de.lang.old
+egw_el.lang.old
+egw_en.lang.old
+egw_es-es.lang.old
+egw_et.lang.old
+egw_eu.lang.old
+egw_fa.lang.old
+egw_fi.lang.old
+egw_fr.lang.old
+egw_hi.lang.old
+egw_hr.lang.old
+egw_hu.lang.old
+egw_id.lang.old
+egw_it.lang.old
+egw_iw.lang.old
+egw_ja.lang.old
+egw_ko.lang.old
+egw_lo.lang.old
+egw_lt.lang.old
+egw_lv.lang.old
+egw_nl.lang.old
+egw_no.lang.old
+egw_pl.lang.old
+egw_pt-br.lang.old
+egw_pt.lang.old
+egw_ru.lang.old
+egw_rw.lang.old
+egw_sk.lang.old
+egw_sl.lang.old
+egw_sv.lang.old
+egw_tr.lang.old
+egw_uk.lang.old
+egw_vi.lang.old
+egw_zh-tw.lang.old
+egw_zh.lang.old
— trunk/sitemgr/sitemgr-link.php (original)
+++ trunk/sitemgr/sitemgr-link.php Thu Apr 28 18:26:46 2016
@@ -28,7 +28,7 @@
if($dest_site_id)
{
$GLOBALS[‘egw_info’][‘user’][‘preferences’][‘sitemgr’][‘currentsite’] = $dest_site_id;
— trunk/sitemgr/sitemgr-site/inc/class.site_controler.inc.php (original)
+++ trunk/sitemgr/sitemgr-site/inc/class.site_controler.inc.php Thu Apr 28 18:26:46 2016
@@ -36,7 +36,7 @@
{
// we need this to avoid the “attempt to access …” errors if users contribute to multiple websites.
// This does not solve the Problem if they work simultanus in two browsers 
-
$GLOBALS['egw']->preferences->add('sitemgr','currentsite', $Common_BO->sites->urltoid($site_url));
$GLOBALS['egw']->preferences->save_repository(True);
}
$sitemgr_info = $sitemgr_info + $Common_BO->sites->current_site;
— trunk/sitemgr/sitemgr-site/index.php (original)
+++ trunk/sitemgr/sitemgr-site/index.php Thu Apr 28 18:26:46 2016
@@ -115,7 +115,7 @@
if ($GLOBALS[‘egw_info’][‘user’][‘preferences’][‘sitemgr’][‘currentsite’] != $site_id)
{
$GLOBALS[‘egw_info’][‘user’][‘preferences’][‘sitemgr’][‘currentsite’] = $site_id;
- $GLOBALS[‘egw’]->preferences->change(‘sitemgr’,‘currentsite’, $site_id);
- $GLOBALS[‘egw’]->preferences->add(‘sitemgr’,‘currentsite’, $site_id);
$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
eGroupWare-cvs mailing list
eGroupWare-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-cvs