Followup r56684: Add new message 'createaccounterror' for errors on account creation...
[lhc/web/wiklou.git] / maintenance / findhooks.php
index c10e113..c7b7a0d 100644 (file)
@@ -34,7 +34,7 @@
  * @license http://www.gnu.org/copyleft/gpl.html GNU General Public Licence 2.0 or later
  */
 
-require_once( "Maintenance.php" );
+require_once( dirname(__FILE__) . '/Maintenance.php' );
 
 class FindHooks extends Maintenance {
        public function __construct() {
@@ -43,6 +43,10 @@ class FindHooks extends Maintenance {
                $this->addOption( 'online', 'Check against mediawiki.org hook documentation' );
        }
 
+       protected function getDbType() {
+               return Maintenance::DB_NONE;
+       }
+
        public function execute() {
                global $IP;