From: Alexandre Emsenhuber Date: Thu, 12 May 2011 20:39:41 +0000 (+0000) Subject: Fix for r86041: when the user wants to unwatch the article, really unwatch it ;) X-Git-Tag: 1.31.0-rc.0~30268 X-Git-Url: http://git.cyclocoop.org//%27http:/jquery.khurshid.com/ifixpng.php/%27?a=commitdiff_plain;h=23eb73a30a7ee8cbffed8852e7ad6bc7b7a00afe;p=lhc%2Fweb%2Fwiklou.git Fix for r86041: when the user wants to unwatch the article, really unwatch it ;) --- 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(); }