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

list. Method is renamed to "getNodesList"
This commit is contained in:
Regis Houssin 2012-09-07 08:47:10 +02:00
parent b6f090eeef
commit 171f25d3b2

View File

@ -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