call hook for any other command

This commit is contained in:
Uwe Steinmann 2026-03-03 14:47:36 +01:00
parent a8f5624579
commit db2144c2a3

View File

@ -1574,5 +1574,13 @@ switch($command) {
}
}
break; /* }}} */
default:
if(isset($GLOBALS['SEEDDMS_HOOKS']['ajax'])) {
foreach($GLOBALS['SEEDDMS_HOOKS']['ajax'] as $hookObj) {
if (method_exists($hookObj, 'runcommand')) {
$ret = $hookObj->runcommand($command, $request, $dms, $settings);
}
}
}
}
?>