Obsolete and probably dangerous old script. Removed from 1.3 branch long ago, forgot...
authorBrion Vibber <brion@users.mediawiki.org>
Mon, 11 Oct 2004 07:43:44 +0000 (07:43 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Mon, 11 Oct 2004 07:43:44 +0000 (07:43 +0000)
maintenance/cleandb.php [deleted file]

diff --git a/maintenance/cleandb.php b/maintenance/cleandb.php
deleted file mode 100644 (file)
index dade09e..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-<?php
-/**
- * Creating a new empty database; either this or the conversion
- * script from the old format needs to be run, but not both.
- *
- * @package MediaWiki
- * @subpackage Maintenance
- */
-
-/** */
-$wgCommandLineMode = true;
-require_once( "../LocalSettings.php" );
-
-$sep = strchr( $include_path = ini_get( "include_path" ), ";" ) ? ";" : ":";
-ini_set( "include_path", "$IP$sep$include_path" );
-
-require_once( "Setup.php" );
-
-$wgTitle = Title::newFromText( "Database creation script" );
-require_once( "./buildTables.inc" );
-set_time_limit(0);
-
-#$wgDBname                     = "wikidb";
-#$wgDBuser                     = "wikiadmin";
-#$wgDBpassword         = "adminpass";
-
-cleanDatabase();
-initializeTables();
-
-print "Done.\n";
-exit();
-
-?>