X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Finstaller%2FSqliteUpdater.php;h=81304c414b372a516e54661ed3b85fc7edf04881;hb=79557c5fb351c92c657e2ed6d03ff6b8a3bd55a0;hp=ab5ab7d79e7f08140d20825442efe2e4b133b6af;hpb=f0edb3e368a5fc69218d20f76f1538b68f37db42;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/installer/SqliteUpdater.php b/includes/installer/SqliteUpdater.php index ab5ab7d79e..81304c414b 100644 --- a/includes/installer/SqliteUpdater.php +++ b/includes/installer/SqliteUpdater.php @@ -137,6 +137,11 @@ class SqliteUpdater extends DatabaseUpdater { array( 'addField', 'pagelinks', 'pl_from_namespace', 'patch-pl_from_namespace.sql' ), array( 'addField', 'templatelinks', 'tl_from_namespace', 'patch-tl_from_namespace.sql' ), array( 'addField', 'imagelinks', 'il_from_namespace', 'patch-il_from_namespace.sql' ), + + // 1.25 + array( 'dropTable', 'hitcounter' ), + array( 'dropField', 'site_stats', 'ss_total_views', 'patch-drop-ss_total_views.sql' ), + array( 'dropField', 'page', 'page_counter', 'patch-drop-page_counter.sql' ), ); } @@ -168,11 +173,4 @@ class SqliteUpdater extends DatabaseUpdater { $this->output( "...fulltext search table appears to be in order.\n" ); } } - - protected function doEnableProfiling() { - global $wgProfileToDatabase; - if ( $wgProfileToDatabase === true && !$this->db->tableExists( 'profiling', __METHOD__ ) ) { - $this->applyPatch( 'patch-profiling.sql', false, 'Add profiling table' ); - } - } }