jenkins-bot has submitted this change and it was merged.

Change subject: Fix problem with delete hook
......................................................................


Fix problem with delete hook

Article must not be an article. It can also be a 
page.

Change-Id: I2672ce36798c7c98723f599800d0f5d385988d48
---
M MathSearch.hooks.php
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Physikerwelt: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/MathSearch.hooks.php b/MathSearch.hooks.php
index 94dbf19..93599c6 100644
--- a/MathSearch.hooks.php
+++ b/MathSearch.hooks.php
@@ -306,7 +306,7 @@
        }
 
        static function onArticleDeleteComplete(
-               Article &$article, User &$user, $reason, $id, $content, 
$logEntry
+               &$article, User &$user, $reason, $id, $content, $logEntry
        ) {
                $revId = $article->getTitle()->getLatestRevID();
                $mathEngineBaseX = new MathEngineBaseX();

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I2672ce36798c7c98723f599800d0f5d385988d48
Gerrit-PatchSet: 3
Gerrit-Project: mediawiki/extensions/MathSearch
Gerrit-Branch: master
Gerrit-Owner: Physikerwelt <[email protected]>
Gerrit-Reviewer: Dyiop <[email protected]>
Gerrit-Reviewer: Hcohl <[email protected]>
Gerrit-Reviewer: Physikerwelt <[email protected]>
Gerrit-Reviewer: Whyameri <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to