added "UnwatchArticleComplete" hook to watchlisteditor so that it gets called when...
authorJason Richey <jasonr@users.mediawiki.org>
Wed, 15 Oct 2008 20:31:53 +0000 (20:31 +0000)
committerJason Richey <jasonr@users.mediawiki.org>
Wed, 15 Oct 2008 20:31:53 +0000 (20:31 +0000)
includes/WatchlistEditor.php

index fcfdb78..f3e41da 100644 (file)
@@ -323,6 +323,8 @@ class WatchlistEditor {
                                        ),
                                        __METHOD__
                                );
+                               $article = new Article($title);
+                               wfRunHooks('UnwatchArticleComplete',array(&$user,&$article));
                        }
                }
        }