remove hook 'addRooteAfterAuthentication'

it's just noch working this way
This commit is contained in:
Uwe Steinmann 2020-08-05 06:45:04 +02:00
parent aa271f6648
commit 98965f109f

View File

@ -55,11 +55,11 @@ if(true) {
foreach($GLOBALS['SEEDDMS_HOOKS']['initDMS'] as $hookObj) {
if (method_exists($hookObj, 'addRoute')) {
$hookObj->addRoute(array('dms'=>$dms, 'app'=>$app, 'settings'=>$settings));
} else {
include("inc/inc.Authentication.php");
if (method_exists($hookObj, 'addRouteAfterAuthentication')) {
$hookObj->addRouteAfterAuthentication(array('dms'=>$dms, 'app'=>$app, 'settings'=>$settings, 'user'=>$user));
}
// } else {
// include("inc/inc.Authentication.php");
// if (method_exists($hookObj, 'addRouteAfterAuthentication')) {
// $hookObj->addRouteAfterAuthentication(array('dms'=>$dms, 'app'=>$app, 'settings'=>$settings, 'user'=>$user));
// }
}
}
}