Supports sqlite

The updater did not run with a sqlite database backend. It was simply
not registered and the MySQL schema is translated just fine by
MediaWiki.

Bug: 67297
Change-Id: Ic869c2c1f0d3b77f62bb950b8585cd731a414698
This commit is contained in:
Antoine Musso 2014-06-30 15:20:39 +02:00 committed by Reedy
parent 2bf57bc2c8
commit c825d7d5f1

View file

@ -182,6 +182,7 @@ class OATHAuthHooks {
$base = dirname( __FILE__ );
switch ( $updater->getDB()->getType() ) {
case 'mysql':
case 'sqlite':
$updater->addExtensionTable( 'oathauth_users', "$base/oathauth.sql" );
break;
}