jenkins-bot has submitted this change and it was merged. (
https://gerrit.wikimedia.org/r/353321 )
Change subject: Fix E_STRICT
......................................................................
Fix E_STRICT
Strict Warning: Non-static method Gifts::updateGift() should not be called
statically in ../w/extensions/SocialProfile/UserGifts/SpecialGiftManager.php on
line 75
Change-Id: I5eee806bc9cb001c22307346c997538c8360b3ab
---
M UserGifts/GiftsClass.php
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
Jack Phoenix: Looks good to me, approved
jenkins-bot: Verified
diff --git a/UserGifts/GiftsClass.php b/UserGifts/GiftsClass.php
index f3e8041..fdc8b6c 100644
--- a/UserGifts/GiftsClass.php
+++ b/UserGifts/GiftsClass.php
@@ -43,7 +43,7 @@
* @param $gift_description Mixed: a short description about the gift,
as supplied by the user
* @param $gift_access Integer: 0 by default
*/
- public function updateGift( $id, $gift_name, $gift_description, $access
= 0 ) {
+ public static function updateGift( $id, $gift_name, $gift_description,
$access = 0 ) {
$dbw = wfGetDB( DB_MASTER );
$dbw->update( 'gift',
/* SET */array(
--
To view, visit https://gerrit.wikimedia.org/r/353321
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I5eee806bc9cb001c22307346c997538c8360b3ab
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/SocialProfile
Gerrit-Branch: master
Gerrit-Owner: Jack Phoenix <[email protected]>
Gerrit-Reviewer: Jack Phoenix <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits