From bda882c26a0b40d3b3fdd4189b16cbdadf3ebbbd Mon Sep 17 00:00:00 2001 From: Jason Richey Date: Wed, 15 Oct 2008 20:31:53 +0000 Subject: [PATCH] added "UnwatchArticleComplete" hook to watchlisteditor so that it gets called when users use the editor rather than clicking an "unwatch" link --- includes/WatchlistEditor.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/includes/WatchlistEditor.php b/includes/WatchlistEditor.php index fcfdb78294..f3e41da62a 100644 --- a/includes/WatchlistEditor.php +++ b/includes/WatchlistEditor.php @@ -323,6 +323,8 @@ class WatchlistEditor { ), __METHOD__ ); + $article = new Article($title); + wfRunHooks('UnwatchArticleComplete',array(&$user,&$article)); } } } -- 2.20.1