Aaron Schulz has uploaded a new change for review.
https://gerrit.wikimedia.org/r/249190
Change subject: Remove ampersands from onTitleMoveComplete()
......................................................................
Remove ampersands from onTitleMoveComplete()
Change-Id: If7c8cb56deee794f59da5abf26af9b19530c48a8
---
M includes/Hooks.php
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/CirrusSearch
refs/changes/90/249190/1
diff --git a/includes/Hooks.php b/includes/Hooks.php
index 681165c..45a2a26 100644
--- a/includes/Hooks.php
+++ b/includes/Hooks.php
@@ -576,7 +576,7 @@
* @param int $oldId The page id of the old page.
* @return bool
*/
- public static function onTitleMoveComplete( Title &$title, Title
&$newTitle, &$user, $oldId ) {
+ public static function onTitleMoveComplete( Title $title, Title
$newTitle, $user, $oldId ) {
// When a page is moved the update and delete hooks are good
enough to catch
// almost everything. The only thing they miss is if a page
moves from one
// index to another. That only happens if it switches
namespace.
--
To view, visit https://gerrit.wikimedia.org/r/249190
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: If7c8cb56deee794f59da5abf26af9b19530c48a8
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/CirrusSearch
Gerrit-Branch: master
Gerrit-Owner: Aaron Schulz <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits