made param useless in listAllFiles since its now safe to pass all files to MM

This commit is contained in:
Rudi Grinberg 2012-11-05 11:11:05 -05:00
parent 1c628bd831
commit bd3cf543bf
1 changed files with 4 additions and 0 deletions

View File

@ -1021,6 +1021,10 @@ SELECT filepath AS fp
FROM CC_FILES AS f
WHERE f.directory = :dir_id
SQL;
# TODO : the option $all is deprecated now and is always true.
# refactor code where it's still being passed
$all = true;
if (!$all) {
$sql .= " AND f.file_exists = 'TRUE'";