From: Aaron Schulz Date: Sun, 27 Apr 2008 23:26:45 +0000 (+0000) Subject: wfReadOnly() check does not belong here X-Git-Tag: 1.31.0-rc.0~48043 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/comptes/journal.php?a=commitdiff_plain;h=9fb54c79cc22117bbd4c9b40ee13b23d423bac23;p=lhc%2Fweb%2Fwiklou.git wfReadOnly() check does not belong here --- diff --git a/includes/LogPage.php b/includes/LogPage.php index c40e96a989..fe968452ba 100644 --- a/includes/LogPage.php +++ b/includes/LogPage.php @@ -52,8 +52,6 @@ class LogPage { } function saveContent() { - if( wfReadOnly() ) return false; - global $wgUser, $wgLogRestrictions; $fname = 'LogPage::saveContent';