mirror of
https://git.code.sf.net/p/seeddms/code
synced 2026-03-14 15:49:10 +00:00
call hook for any other command
This commit is contained in:
parent
a8f5624579
commit
db2144c2a3
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
?>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user