mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-09 04:56:06 +00:00
call hook preIndexFolder() for folders
This commit is contained in:
parent
84b0f6ac35
commit
efd159e4d8
|
@ -852,7 +852,7 @@ switch($command) {
|
|||
if(isset($GLOBALS['SEEDDMS_HOOKS'][$hook])) {
|
||||
foreach($GLOBALS['SEEDDMS_HOOKS'][$hook] as $hookObj) {
|
||||
if (method_exists($hookObj, 'pre'.ucfirst($hook))) {
|
||||
$ires = $hookObj->preIndexDocument(null, $object, $idoc);
|
||||
$ires = $hookObj->{'pre'.ucfirst($hook)}(null, $object, $idoc);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user