From 23eb73a30a7ee8cbffed8852e7ad6bc7b7a00afe Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Thu, 12 May 2011 20:39:41 +0000 Subject: [PATCH] Fix for r86041: when the user wants to unwatch the article, really unwatch it ;) --- includes/EditPage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/EditPage.php b/includes/EditPage.php index 48a28e8392..d8fcdd7b73 100644 --- a/includes/EditPage.php +++ b/includes/EditPage.php @@ -1157,7 +1157,7 @@ class EditPage { if ( $this->watchthis ) { Action::factory( 'watch', $this->mArticle )->execute(); } else { - Action::factory( 'watch', $this->mArticle )->execute(); + Action::factory( 'unwatch', $this->mArticle )->execute(); } $dbw->commit(); } -- 2.20.1