Skip to content
Snippets Groups Projects
Commit 171f25d3 authored by Regis Houssin's avatar Regis Houssin
Browse files

Fix: getDirList is ambiguous, this method can return dir list or files

list. Method is renamed to "getNodesList"
parent b6f090ee
No related branches found
No related tags found
No related merge requests found
......@@ -83,7 +83,7 @@ function dol_dir_list($path, $types="all", $recursive=0, $filter="", $excludefil
'loaddate' => $loaddate,
'loadsize' => $loadsize
);
$reshook=$hookmanager->executeHooks('getDirList', $parameters);
$reshook=$hookmanager->executeHooks('getNodesList', $parameters);
// $reshook may contain returns stacked by other modules
// $reshook is always empty with an array for can not lose returns stacked with other modules
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment