Katie Horn has submitted this change and it was merged.
Change subject: fixups for unfork
......................................................................
fixups for unfork
Change-Id: Ibd8bb393eed1f90c88c271359c28fed947fa845b
---
A gateway_common/MWException.drupal.php
M gateway_common/WmfFramework.drupal.php
2 files changed, 5 insertions(+), 6 deletions(-)
Approvals:
Katie Horn: Looks good to me, approved
diff --git a/gateway_common/MWException.drupal.php
b/gateway_common/MWException.drupal.php
new file mode 100644
index 0000000..d2d24f8
--- /dev/null
+++ b/gateway_common/MWException.drupal.php
@@ -0,0 +1,4 @@
+<?php
+
+class MWException extends Exception {
+}
diff --git a/gateway_common/WmfFramework.drupal.php
b/gateway_common/WmfFramework.drupal.php
index 9ab19d6..3afdc12 100644
--- a/gateway_common/WmfFramework.drupal.php
+++ b/gateway_common/WmfFramework.drupal.php
@@ -60,7 +60,7 @@
* @return boolean - true if message exists, otherwise false.
*/
public static function messageExists( $msg_key, $language ) {
- return strlen( self::format_message( $msg_key ) ) > 0;
+ return strlen( self::formatMessage( $msg_key ) ) > 0;
}
static function getUserAgent() {
@@ -69,10 +69,5 @@
static function isPosted() {
return false;
- }
-}
-
-if ( !class_exists( 'MWException' ) ) {
- class MWException extends Exception {
}
}
--
To view, visit https://gerrit.wikimedia.org/r/165901
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ibd8bb393eed1f90c88c271359c28fed947fa845b
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/DonationInterface
Gerrit-Branch: deploy-payments_1.22
Gerrit-Owner: Katie Horn <[email protected]>
Gerrit-Reviewer: Awight <[email protected]>
Gerrit-Reviewer: Katie Horn <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits