From 9fb54c79cc22117bbd4c9b40ee13b23d423bac23 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Sun, 27 Apr 2008 23:26:45 +0000 Subject: [PATCH] wfReadOnly() check does not belong here --- includes/LogPage.php | 2 -- 1 file changed, 2 deletions(-) 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'; -- 2.20.1