upload dirs will be created on demand; no longer a need to pre-create them
authorBrion Vibber <brion@users.mediawiki.org>
Tue, 10 Jun 2008 21:32:20 +0000 (21:32 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Tue, 10 Jun 2008 21:32:20 +0000 (21:32 +0000)
maintenance/addwiki.php

index 16a29af..dfb9c9e 100644 (file)
@@ -240,16 +240,6 @@ EOT
        # Rebuild interwiki tables
        #passthru( '/home/wikipedia/conf/interwiki/update' );
 
-       # Create the upload dir
-       $uploadDir = "/mnt/upload3/$site/$lang";
-       if( file_exists( $uploadDir ) ) {
-               echo "$uploadDir already exists.\n";
-       } else {
-               echo "Creating $uploadDir...\n";
-               mkdir( $uploadDir, 0777 );
-               chmod( $uploadDir, 0777 );
-       }
-
        print "Script ended. You still have to:
 * Add any required settings in InitialiseSettings.php
 * Run sync-common-all