Author: ralfbecker
New Revision: 55075
URL: http://svn.stylite.de/viewvc/egroupware?rev=55075&view=rev
Log:
remove in php70 deprecated php4 constructors
Modified:
trunk/infolog/inc/class.infolog_bo.inc.php
trunk/phpgwapi/inc/HTTP/WebDAV/Server.php
trunk/phpgwapi/inc/class.Template.inc.php
trunk/phpgwapi/inc/class.about.inc.php
trunk/phpgwapi/inc/class.arrayfunctions.inc.php
trunk/phpgwapi/inc/class.asyncservice.inc.php
trunk/phpgwapi/inc/class.categories.inc.php
trunk/phpgwapi/inc/class.groupdav.inc.php
trunk/phpgwapi/inc/class.historylog.inc.php
trunk/phpgwapi/inc/class.hooks.inc.php
trunk/phpgwapi/inc/class.nextmatchs.inc.php
trunk/phpgwapi/inc/class.send.inc.php
trunk/phpgwapi/inc/class.solink.inc.php
trunk/phpgwapi/inc/class.vfs_webdav_server.inc.php
trunk/tracker/inc/class.tracker_escalations.inc.php
— trunk/infolog/inc/class.infolog_bo.inc.php (original)
+++ trunk/infolog/inc/class.infolog_bo.inc.php Fri Feb 19 09:54:53 2016
@@ -6,7 +6,7 @@
@@ -1558,9 +1558,9 @@
if (!($email = $GLOBALS[‘egw’]->accounts->id2name($user,‘account_email’))) continue;
// create the enviroment for $user
$this->user = $GLOBALS[‘egw_info’][‘user’][‘account_id’] = $user;
— trunk/phpgwapi/inc/HTTP/WebDAV/Server.php (original)
+++ trunk/phpgwapi/inc/HTTP/WebDAV/Server.php Fri Feb 19 09:54:53 2016
@@ -172,7 +172,7 @@
*
* @param void
*/
- function HTTP_WebDAV_Server()
- function __construct()
{
// PHP messages destroy XML output -> switch them off
ini_set(“display_errors”, 0);
— trunk/phpgwapi/inc/class.Template.inc.php (original)
+++ trunk/phpgwapi/inc/class.Template.inc.php Fri Feb 19 09:54:53 2016
@@ -55,7 +55,7 @@
* root: template directory.
* unknowns: how to handle unknown variables.
*/
— trunk/phpgwapi/inc/class.about.inc.php (original)
+++ trunk/phpgwapi/inc/class.about.inc.php Fri Feb 19 09:54:53 2016
@@ -44,7 +44,7 @@
*
* @since 1.4
*/
- function __construct()
{
translation::add_app(‘admin’);
— trunk/phpgwapi/inc/class.arrayfunctions.inc.php (original)
+++ trunk/phpgwapi/inc/class.arrayfunctions.inc.php Fri Feb 19 09:54:53 2016
@@ -24,10 +24,6 @@
class arrayfunctions
{
@@ -35,11 +31,11 @@
* @param $a The array to sort
* @param $fl Field list (in order of importance)
*/
@@ -74,4 +70,3 @@
}
} // end class arrayfunctions
-?>
— trunk/phpgwapi/inc/class.asyncservice.inc.php (original)
+++ trunk/phpgwapi/inc/class.asyncservice.inc.php Fri Feb 19 09:54:53 2016
@@ -39,7 +39,7 @@
/**
* constructor of the class
*/
- function __construct()
{
if (is_object($GLOBALS[‘egw’]->db))
{
— trunk/phpgwapi/inc/class.categories.inc.php (original)
+++ trunk/phpgwapi/inc/class.categories.inc.php Fri Feb 19 09:54:53 2016
@@ -147,16 +147,6 @@
}
/**
— trunk/phpgwapi/inc/class.groupdav.inc.php (original)
+++ trunk/phpgwapi/inc/class.groupdav.inc.php Fri Feb 19 09:54:53 2016
@@ -256,7 +256,7 @@
$this->dav_powered_by = str_replace(‘EGroupware’,'EGroupware '.$GLOBALS[‘egw_info’][‘server’][‘versions’][‘phpgwapi’],
$this->dav_powered_by);
-
parent::__Construct();
// hack to allow to use query parameters in WebDAV, which HTTP_WebDAV_Server interprets as part of the path
list($this->_SERVER['REQUEST_URI']) = explode('?',$this->_SERVER['REQUEST_URI']);
/*if (substr($this->_SERVER['REQUEST_URI'],-13) == '/;add-member/')
— trunk/phpgwapi/inc/class.historylog.inc.php (original)
+++ trunk/phpgwapi/inc/class.historylog.inc.php Fri Feb 19 09:54:53 2016
@@ -57,7 +57,7 @@
* @param string $appname app name this instance operates on
* @return historylog
*/
- function historylog($appname=’’,$user=null)
- function __construct($appname=’’,$user=null)
{
$this->appname = $appname ? $appname : $GLOBALS[‘egw_info’][‘flags’][‘currentapp’];
$this->user = !is_null($user) ? $user : $GLOBALS[‘egw_info’][‘user’][‘account_id’];
— trunk/phpgwapi/inc/class.hooks.inc.php (original)
+++ trunk/phpgwapi/inc/class.hooks.inc.php Fri Feb 19 09:54:53 2016
@@ -66,17 +66,6 @@
}
/**
-
-
-
-
-
@deprecated use __construct()
- */
- function hooks($db=null)
- {
-
self::__construct($db);
- }
-
- /**
- Executes all the hooks (the user has rights to) for a given location
-
- If no $order given, hooks are executed in the order of the applications!
— trunk/phpgwapi/inc/class.nextmatchs.inc.php (original)
+++ trunk/phpgwapi/inc/class.nextmatchs.inc.php Fri Feb 19 09:54:53 2016
@@ -36,11 +36,11 @@
var $template;
var $extra_filters = array();
— trunk/phpgwapi/inc/class.send.inc.php (original)
+++ trunk/phpgwapi/inc/class.send.inc.php Fri Feb 19 09:54:53 2016
@@ -15,21 +15,6 @@
*/
class send extends egw_mailer
{
— trunk/phpgwapi/inc/class.solink.inc.php (original)
+++ trunk/phpgwapi/inc/class.solink.inc.php Fri Feb 19 09:54:53 2016
@@ -172,7 +172,7 @@
return is_array($id) ? $links : ($links[$id] ? $links[$id] : array());
}
- private function _add2links($row,$left,$only_app,$not_only,array &$links)
- private static function _add2links($row,$left,$only_app,$not_only,array &$links)
{
$linked_app = $left ? $row[‘link_app2’] : $row[‘link_app1’];
$linked_id = $left ? $row[‘link_id2’] : $row[‘link_id1’];
— trunk/phpgwapi/inc/class.vfs_webdav_server.inc.php (original)
+++ trunk/phpgwapi/inc/class.vfs_webdav_server.inc.php Fri Feb 19 09:54:53 2016
@@ -121,7 +121,6 @@
{
$path = $this->_unslashify($this->base .$options[“path”]);
$parent = egw_vfs::dirname($path);
@@ -631,7 +630,7 @@
{
$_SERVER[‘REQUEST_URI’] = substr($_SERVER[‘REQUEST_URI’],0,$this->force_download);
}
-
parent::__construct();
}
/**
— trunk/tracker/inc/class.tracker_escalations.inc.php (original)
+++ trunk/tracker/inc/class.tracker_escalations.inc.php Fri Feb 19 09:54:53 2016
@@ -618,7 +618,7 @@
{
unset(self::$tracker->tracking->skip_notify);
}
@@ -627,15 +627,15 @@
if (isset($notified)) $notified=array();
// Create environment for user
if (!($email = $GLOBALS[‘egw’]->accounts->id2name($user,‘account_email’))) continue;
@@ -644,7 +644,7 @@
// Load date/time preferences into egw_time
egw_time::init();
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
eGroupWare-cvs mailing list
eGroupWare-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-cvs