From 631fbc8029659273deec0770e33e6545e6760bc7 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Thu, 15 Oct 2009 10:46:28 +0000 Subject: [PATCH] Removed inapplicable deletedtext userCan() check --- includes/LogEventsList.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/includes/LogEventsList.php b/includes/LogEventsList.php index 3710fc3713..216a40e023 100644 --- a/includes/LogEventsList.php +++ b/includes/LogEventsList.php @@ -557,8 +557,6 @@ class LogEventsList { $permission = ''; if ( $row->log_deleted & LogPage::DELETED_RESTRICTED ) { $permission = 'suppressrevision'; - } elseif ( $field & LogPage::DELETED_TEXT ) { - $permission = 'deletedtext'; } else { $permission = 'deletedhistory'; } -- 2.20.1