do not pass $user to controllor factory

This commit is contained in:
Uwe Steinmann 2018-04-23 15:27:23 +02:00
parent 1c24059fe9
commit da2696869b

View File

@ -38,7 +38,7 @@ function _printMessage($heading, $message) { /* {{{ */
} /* }}} */
$tmp = explode('.', basename($_SERVER['SCRIPT_FILENAME']));
$controller = Controller::factory($tmp[1], array('dms'=>$dms, 'user'=>$user));
$controller = Controller::factory($tmp[1], array('dms'=>$dms));
if (isset($_REQUEST["sesstheme"]) && strlen($_REQUEST["sesstheme"])>0 && is_numeric(array_search($_REQUEST["sesstheme"],UI::getStyles())) ) {
$theme = $_REQUEST["sesstheme"];