From 653325fb02fd41478e90ed381e2f7106b9b2c1e2 Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 15 Jun 2005 08:22:53 +0000 Subject: [PATCH] renamed scandir_php4 to scan_directory git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@710 594d385d-05f5-0310-b6e9-bd551577e9d8 --- include/functions.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.30.2