forked from extern/egroupware
"reworked _get_css debug message:
- was given if no css function as defined (correct use) - explain a bit more what's wrong"
This commit is contained in:
parent
cae06956af
commit
60b85adcbc
@ -545,12 +545,10 @@ abstract class egw_framework
|
|||||||
if(isset($_GET['menuaction']))
|
if(isset($_GET['menuaction']))
|
||||||
{
|
{
|
||||||
list($app,$class,$method) = explode('.',$_GET['menuaction']);
|
list($app,$class,$method) = explode('.',$_GET['menuaction']);
|
||||||
if(is_array($GLOBALS[$class]->public_functions) &&
|
if(is_array($GLOBALS[$class]->public_functions) && $GLOBALS[$class]->public_functions['css'])
|
||||||
$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();
|
$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']))
|
if (isset($GLOBALS['egw_info']['flags']['css']))
|
||||||
|
Loading…
Reference in New Issue
Block a user