From: Ævar Arnfjörð Bjarmason Date: Wed, 2 Nov 2005 20:48:42 +0000 (+0000) Subject: * Remove redundant variable definition X-Git-Tag: 1.6.0~1244 X-Git-Url: http://git.cyclocoop.org/?a=commitdiff_plain;h=a2bb76206d694f199b1628a31f0cb49dfd0ac7e2;p=lhc%2Fweb%2Fwiklou.git * Remove redundant variable definition --- diff --git a/includes/GlobalFunctions.php b/includes/GlobalFunctions.php index 78dc8c4ddb..07e6a052aa 100644 --- a/includes/GlobalFunctions.php +++ b/includes/GlobalFunctions.php @@ -1412,7 +1412,7 @@ function wfTempDir() { function wfMkdirParents( $fullDir, $mode ) { $parts = explode( '/', $fullDir ); $path = ''; - $success = false; + foreach ( $parts as $dir ) { $path .= $dir . '/'; if ( !is_dir( $path ) ) {