From a7c07147e3893aba072f98f05c620a26b8ed2707 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=87=8F=E5=AD=90=E5=A4=8D=E5=90=88=E6=80=81?= Date: Fri, 31 Jul 2020 16:11:25 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- includes/Hooks.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/Hooks.php b/includes/Hooks.php index afa30b6..b823f10 100644 --- a/includes/Hooks.php +++ b/includes/Hooks.php @@ -65,7 +65,7 @@ class Hooks { } } - public static function onArticleDeleteComplete(Article &$article, User &$user, $reason, $id, \Content $content = null, \LogEntry $logEntry){ + public static function onArticleDeleteComplete(&$article, User &$user, $reason, $id, \Content $content = null, \LogEntry $logEntry){ if(in_array($article->getTitle()->getNamespace(), self::$allowedNS)){ Utils::removeTitleSlugMap($article->getTitle()->getText()); }