From f45c1e7d53a435026b7eee0c1b6c7c06923787da Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Mon, 3 Mar 2014 17:33:55 +0000 Subject: [PATCH] fixed all methods of common class are static --- phpgwapi/inc/class.egw.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/phpgwapi/inc/class.egw.inc.php b/phpgwapi/inc/class.egw.inc.php index 38c6381da5..4463302639 100644 --- a/phpgwapi/inc/class.egw.inc.php +++ b/phpgwapi/inc/class.egw.inc.php @@ -258,7 +258,7 @@ class egw extends egw_minimal // output the header unless the developer turned it off if (!@$GLOBALS['egw_info']['flags']['noheader']) { - $GLOBALS['egw']->common->egw_header(); + common::egw_header(); } // Load the (depricated) app include files if they exists @@ -706,7 +706,7 @@ class egw_minimal } break; case 'template': // need to be instancated for the current app - if (!($tpl_dir = $GLOBALS['egw']->common->get_tpl_dir($this->currentapp))) + if (!($tpl_dir = common::get_tpl_dir($this->currentapp))) { return null; }