(bug 17992) Revert crack-inspired r48399.
authorChad Horohoe <demon@users.mediawiki.org>
Sun, 15 Mar 2009 13:45:41 +0000 (13:45 +0000)
committerChad Horohoe <demon@users.mediawiki.org>
Sun, 15 Mar 2009 13:45:41 +0000 (13:45 +0000)
includes/GlobalFunctions.php

index 35d8f18..2605ad0 100644 (file)
@@ -2008,9 +2008,6 @@ function wfMkdirParents( $dir, $mode = null ) {
        if ( is_null( $mode ) )
                $mode = $wgDirectoryMode;
 
-       if ( !is_writable( $dir ) ) {
-               return false;
-       }
        return mkdir( $dir, $mode, true );  // PHP5 <3
 }