And while I'm a it: This doesn't require DB access
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Sat, 9 Oct 2010 11:53:19 +0000 (11:53 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Sat, 9 Oct 2010 11:53:19 +0000 (11:53 +0000)
maintenance/stats.php

index c34543d..8854d19 100644 (file)
@@ -29,6 +29,10 @@ class CacheStats extends Maintenance {
                parent::__construct();
        }
 
+       public function getDbType() {
+               return Maintenance::DB_NONE;
+       }
+
        public function execute() {
                global $wgMemc;