[eGroupWare-svn] r56077 - /trunk/egroupware/api/src/DateTime.php

[email protected] Fri, 06 May 2016 16:15:06 -0000
Newsgroups gmane.comp.web.egroupware.cvs
Message-ID <[email protected]>
Author: ralfbecker
Date: Fri May  6 18:15:06 2016
New Revision: 56077

URL: http://svn.stylite.de/viewvc/egroupware?rev=56077&view=rev
Log:
replace old classname

Modified:
    trunk/egroupware/api/src/DateTime.php

Modified: trunk/egroupware/api/src/DateTime.php
URL: http://svn.stylite.de/viewvc/egroupware/trunk/egroupware/api/src/DateTime.php?rev=56077&r1=56076&r2=56077&view=diff
==============================================================================
--- trunk/egroupware/api/src/DateTime.php (original)
+++ trunk/egroupware/api/src/DateTime.php Fri May  6 18:15:06 2016
@@ -649,7 +649,7 @@
 		unset($data);
 
 		// if user lang or installed langs contain a european language --> move Europe to top of tz list
-		$langs = class_exists('translation') ? translation::get_installed_langs() : array();
+		$langs = class_exists('EGroupware\\Api\\Translation') ? Translation::get_installed_langs() : array();
 		if (array_intersect(array($GLOBALS['egw_info']['user']['preferences']['common']['lang'])+array_keys($langs),
 			array('de','fr','it','nl','bg','ca','cs','da','el','es-es','et','eu','fi','hr','hu','lt','no','pl','pt','sk','sl','sv','tr','uk')))
 		{


------------------------------------------------------------------------------
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