Gerrit Patch Uploader has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/211093

Change subject: Install: Fixes for oauthauth_user table creation:
......................................................................

Install: Fixes for oauthauth_user table creation:

/utils/Hooks.php: Added a slash to fix possibly missing slash
/store/oauthauth.sql: Removed a comma to fix syntax error

Bug: T99219
Change-Id: Ie613ba3dee553e902f6536dd7a1bea8b573edac8
---
M store/oauthauth.sql
M utils/Hooks.php
2 files changed, 2 insertions(+), 2 deletions(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/OAuthAuthentication 
refs/changes/93/211093/1

diff --git a/store/oauthauth.sql b/store/oauthauth.sql
index 56fc6f5..dc927b4 100644
--- a/store/oauthauth.sql
+++ b/store/oauthauth.sql
@@ -4,7 +4,7 @@
   `oaau_username` varchar(255) binary not null,
   `oaau_access_token` varchar(127) binary not null default '',
   `oaau_access_secret` varchar(127) binary not null default '',
-  `oaau_identify_timestamp` binary(14) not null default '',
+  `oaau_identify_timestamp` binary(14) not null default ''
 ) /*$wgDBTableOptions*/;
 
 CREATE UNIQUE INDEX /*i*/idx_rid ON /*_*/oauthauth_user (`oaau_rid`);
diff --git a/utils/Hooks.php b/utils/Hooks.php
index 6df4a81..bbda513 100644
--- a/utils/Hooks.php
+++ b/utils/Hooks.php
@@ -45,7 +45,7 @@
        }
 
        public static function onLoadExtensionSchemaUpdates( $updater = null ) {
-               $updater->addExtensionTable( 'oauthauth_user', __DIR__ . 
'../store/oauthauth.sql' );
+               $updater->addExtensionTable( 'oauthauth_user', __DIR__ . 
'/../store/oauthauth.sql' );
        }
 
        public static function onGetPreferences( $user, &$preferences ) {

-- 
To view, visit https://gerrit.wikimedia.org/r/211093
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie613ba3dee553e902f6536dd7a1bea8b573edac8
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/OAuthAuthentication
Gerrit-Branch: master
Gerrit-Owner: Gerrit Patch Uploader <gerritpatchuploa...@gmail.com>
Gerrit-Reviewer: Zhuyifei1999 <zhuyifei1...@gmail.com>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to