From a2bb76206d694f199b1628a31f0cb49dfd0ac7e2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C3=86var=20Arnfj=C3=B6r=C3=B0=20Bjarmason?= Date: Wed, 2 Nov 2005 20:48:42 +0000 Subject: [PATCH] * Remove redundant variable definition --- includes/GlobalFunctions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ) ) { -- 2.20.1