From 60b85adcbc4e911684a05215ca5cf9a59484b2df Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Mon, 13 Oct 2008 18:23:02 +0000 Subject: [PATCH] "reworked _get_css debug message: - was given if no css function as defined (correct use) - explain a bit more what's wrong" --- phpgwapi/inc/class.egw_framework.inc.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/phpgwapi/inc/class.egw_framework.inc.php b/phpgwapi/inc/class.egw_framework.inc.php index f167c61fd7..e15e3eb528 100644 --- a/phpgwapi/inc/class.egw_framework.inc.php +++ b/phpgwapi/inc/class.egw_framework.inc.php @@ -545,12 +545,10 @@ abstract class egw_framework if(isset($_GET['menuaction'])) { list($app,$class,$method) = explode('.',$_GET['menuaction']); - if(is_array($GLOBALS[$class]->public_functions) && - $GLOBALS[$class]->public_functions['css']) + if(is_array($GLOBALS[$class]->public_functions) && $GLOBALS[$class]->public_functions['css']) { + error_log("Deprecated functionality in $app class $class: using of public_function css, use \$GLOBALS['egw_info']['flags']['css'] or an app.css file!"); $app_css .= $GLOBALS[$class]->css(); - } else { - error_log("Deprecated functionality. The setting of the GLOBALS Array on CreateObject in phpgwapi/inc/common_functions.inc.php is no longer supported"); } } if (isset($GLOBALS['egw_info']['flags']['css']))