From: Max Semenik Date: Wed, 8 Feb 2012 18:07:41 +0000 (+0000) Subject: Fix my stupid mistake in r110750 that resulted in fake "can't delete page" errors... X-Git-Tag: 1.31.0-rc.0~24860 X-Git-Url: http://git.cyclocoop.org//%27%40script%40/%27?a=commitdiff_plain;h=efb855cb88280c1021076bb38f913b32816473f5;p=lhc%2Fweb%2Fwiklou.git Fix my stupid mistake in r110750 that resulted in fake "can't delete page" errors (bug 34245) --- diff --git a/includes/WikiPage.php b/includes/WikiPage.php index 5c0b196837..acc9831aa5 100644 --- a/includes/WikiPage.php +++ b/includes/WikiPage.php @@ -1932,7 +1932,7 @@ class WikiPage extends Page { $reason, $suppress = false, $id = 0, $commit = true, &$error = '', User $user = null ) { return $this->doDeleteArticleReal( $reason, $suppress, $id, $commit, $error, $user ) - != WikiPage::DELETE_SUCCESS; + == WikiPage::DELETE_SUCCESS; } /**