From 171f25d3b2b98f6b7e73dcce28a2ace85cc8c8e4 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Fri, 7 Sep 2012 08:47:10 +0200 Subject: [PATCH] Fix: getDirList is ambiguous, this method can return dir list or files list. Method is renamed to "getNodesList" --- htdocs/core/lib/files.lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/core/lib/files.lib.php b/htdocs/core/lib/files.lib.php index 42e9e8578fbe8..e13e5f1b93af9 100644 --- a/htdocs/core/lib/files.lib.php +++ b/htdocs/core/lib/files.lib.php @@ -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