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()); }