[eGroupWare-svn] r55959 - /trunk/egroupware/api/src/Egw.php
[email protected] Sun, 01 May 2016 14:18:56 -0000
| Newsgroups | gmane.comp.web.egroupware.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: ralfbecker
Date: Sun May 1 16:18:56 2016
New Revision: 55959
URL: http://svn.stylite.de/viewvc/egroupware?rev=55959&view=rev
Log:
fix PHP Fatal error: Cannot use accounts as accounts because the name is already in use under PHP 5.4
Modified:
trunk/egroupware/api/src/Egw.php
Modified: trunk/egroupware/api/src/Egw.php
URL: http://svn.stylite.de/viewvc/egroupware/trunk/egroupware/api/src/Egw.php?rev=55959&r1=55958&r2=55959&view=diff
==============================================================================
--- trunk/egroupware/api/src/Egw.php (original)
+++ trunk/egroupware/api/src/Egw.php Sun May 1 16:18:56 2016
@@ -16,7 +16,7 @@
// explicitly list old, non-namespaced classes
// they are only used, if phpgwapi is installed
-use accounts;
+use accounts as egw_accounts;
use egw_session;
/**
@@ -150,7 +150,7 @@
// if phpgwapi exists we prefer accounts and egw_session, as they have some deprecated methods
if (file_exists(EGW_SERVER_ROOT.'/phpgwapi'))
{
- $this->accounts = new accounts();
+ $this->accounts = new egw_accounts();
/* Do not create the session object if called by the sessions class. This way
* we ensure the correct db based on the user domain.
*/
------------------------------------------------------------------------------
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