untested attempt at bug fix
authorTim Starling <tstarling@users.mediawiki.org>
Sun, 18 Jan 2004 06:02:50 +0000 (06:02 +0000)
committerTim Starling <tstarling@users.mediawiki.org>
Sun, 18 Jan 2004 06:02:50 +0000 (06:02 +0000)
update.php

index 9dbdafa..5dac771 100644 (file)
@@ -196,7 +196,7 @@ function do_index_update() {
 function do_linkscc_update() {
        // Create linkscc if necessary
        global $wgDatabase;
-       if( table_exists( "linkscc" ) ) {
+       if( $wgDatabase->tableExists( "linkscc" ) ) {
                echo "...have linkscc table.\n";
        } else {
                echo "Adding linkscc table... ";