From: hickert Date: Wed, 15 Jun 2005 08:22:53 +0000 (+0000) Subject: renamed scandir_php4 to scan_directory X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=653325fb02fd41478e90ed381e2f7106b9b2c1e2;p=gosa.git renamed scandir_php4 to scan_directory git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@710 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/include/functions.inc b/include/functions.inc index b91a3068e..54ecb36a4 100644 --- a/include/functions.inc +++ b/include/functions.inc @@ -1635,7 +1635,7 @@ function rmdirRecursive($path, $followLinks=false) { return rmdir($path); } -function scandir_php4($path,$sort_desc=false) +function scan_directory($path,$sort_desc=false) { $ret = false; @@ -1685,7 +1685,7 @@ function clean_smarty_compile_dir($directory) # contents should match the revision number if(!compare_revision($revision_file, $svn_revision)){ // If revision differs, clean compile directory - foreach(scandir_php4($directory) as $file) { + foreach(scan_directory($directory) as $file) { if( is_file($directory."/".$file) && is_writable($directory."/".$file)) { // delete file