From: Aaron Schulz Date: Sat, 4 Apr 2009 17:00:01 +0000 (+0000) Subject: Hide show/hide links for NO_ACTION_LINK X-Git-Tag: 1.31.0-rc.0~42231 X-Git-Url: http://git.cyclocoop.org/%24href?a=commitdiff_plain;h=bec59020901ea4fe2835e9d26c38c5f118686c5a;p=lhc%2Fweb%2Fwiklou.git Hide show/hide links for NO_ACTION_LINK --- diff --git a/includes/LogEventsList.php b/includes/LogEventsList.php index a31124330a..37b5dafeca 100644 --- a/includes/LogEventsList.php +++ b/includes/LogEventsList.php @@ -225,7 +225,7 @@ class LogEventsList { $paramArray = LogPage::extractParams( $row->log_params ); $revert = $del = ''; // Some user can hide log items and have review links - if( $wgUser->isAllowed( 'deleterevision' ) ) { + if( !($this->flags & self::NO_ACTION_LINK) && $wgUser->isAllowed( 'deleterevision' ) ) { $del = $this->getShowHideLinks( $row ) . ' '; } // Add review links and such...