修复报错

master
落雨楓 5 years ago
parent a35065fccb
commit a7c07147e3

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

Loading…
Cancel
Save