From 9a81ed5f8cc7869b48390549b3306f4a497c5d53 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sun, 13 Jan 2008 10:46:16 -0800 Subject: [PATCH] Fixing a few functions that broke during the refactoring * Functions.php: (BSFunctions::swap_css_classes): This function wasn't marked static so it wasn't refactored, fixed both of those issues (BSFunctions::scan_directory): Issues arose with _help_scan_directory() (BSFunctions::_help_scan_directory): ditto --- Functions.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Functions.php b/Functions.php index 55d369c..89d1c22 100644 --- a/Functions.php +++ b/Functions.php @@ -160,7 +160,7 @@ class BSFunctions * @param string First CSS class name * @param string Second CSS class name */ - public function SwapCssClasses($class1 = 'alt1', $class2 = 'alt2') + public static function swap_css_classes($class1 = 'alt1', $class2 = 'alt2') { static $count; @@ -535,7 +535,7 @@ class BSFunctions */ public static function scan_directory($path, $recurse = true, $ignoreDot = true) { - return self::_helpscan_directory($path, $recurse, $ignoreDot, ''); + return self::_help_scan_directory($path, $recurse, $ignoreDot, ''); } // ################################################################### @@ -566,7 +566,7 @@ class BSFunctions if ($file->isDir() AND $recurse) { - $filelist = array_merge($filelist, self::_helpscan_directory($path . $name, $recurse, $ignoreDot, $pathAdd . BSFunctions::fetch_source_path(str_replace($path, '', $file->getPathname())))); + $filelist = array_merge($filelist, self::_help_scan_directory($path . $name, $recurse, $ignoreDot, $pathAdd . BSFunctions::fetch_source_path(str_replace($path, '', $file->getPathname())))); continue; } -- 2.22.5