Mglaser has uploaded a new change for review. (
https://gerrit.wikimedia.org/r/350800 )
Change subject: Replaced &$this with $this
......................................................................
Replaced &$this with $this
Use of &$this in hooks triggers warnings in PHP 7.1
Bug: TT153505
Change-Id: Ifb5c008382cbcce40a9216bb091f0124a9599ee4
---
M includes/outputhandler/views/view.UserMiniProfile.php
M includes/skins/BsBaseTemplate.php
2 files changed, 2 insertions(+), 2 deletions(-)
git pull
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/BlueSpiceFoundation
refs/changes/00/350800/1
diff --git a/includes/outputhandler/views/view.UserMiniProfile.php
b/includes/outputhandler/views/view.UserMiniProfile.php
index 63be596..9a794ca 100644
--- a/includes/outputhandler/views/view.UserMiniProfile.php
+++ b/includes/outputhandler/views/view.UserMiniProfile.php
@@ -111,7 +111,7 @@
}
}
- wfRunHooks( 'UserMiniProfileAfterInit', array( &$this ) );
+ wfRunHooks( 'UserMiniProfileAfterInit', array( $this ) );
$this->bIsInit = true;
}
diff --git a/includes/skins/BsBaseTemplate.php
b/includes/skins/BsBaseTemplate.php
index 678c217..83fba75 100644
--- a/includes/skins/BsBaseTemplate.php
+++ b/includes/skins/BsBaseTemplate.php
@@ -299,7 +299,7 @@
$sToolboxLinkList = implode("\n", $aToolboxLinkList);
ob_start();
- wfRunHooks('SkinTemplateToolboxEnd', array(&$this));
+ wfRunHooks('SkinTemplateToolboxEnd', array( $this ));
$sToolboxEndLinkList = ob_get_contents();
ob_end_clean();
--
To view, visit https://gerrit.wikimedia.org/r/350800
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ifb5c008382cbcce40a9216bb091f0124a9599ee4
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/BlueSpiceFoundation
Gerrit-Branch: master
Gerrit-Owner: Mglaser <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits