mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/OATHAuth
synced 2024-09-23 18:30:39 +00:00
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:
parent
2bf57bc2c8
commit
c825d7d5f1
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue