Fix: getDirList is ambiguous, this method can return dir list or files
list. Method is renamed to "getNodesList"
This commit is contained in:
parent
b6f090eeef
commit
171f25d3b2
@ -83,7 +83,7 @@ function dol_dir_list($path, $types="all", $recursive=0, $filter="", $excludefil
|
|||||||
'loaddate' => $loaddate,
|
'loaddate' => $loaddate,
|
||||||
'loadsize' => $loadsize
|
'loadsize' => $loadsize
|
||||||
);
|
);
|
||||||
$reshook=$hookmanager->executeHooks('getDirList', $parameters);
|
$reshook=$hookmanager->executeHooks('getNodesList', $parameters);
|
||||||
|
|
||||||
// $reshook may contain returns stacked by other modules
|
// $reshook may contain returns stacked by other modules
|
||||||
// $reshook is always empty with an array for can not lose returns stacked with other modules
|
// $reshook is always empty with an array for can not lose returns stacked with other modules
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user