Moved definitions for Special:Listadmins and Special:Listbots just below Special...
[lhc/web/wiklou.git] / includes / LogEventsList.php
index 599ef5c..188e23f 100644 (file)
@@ -357,7 +357,7 @@ class LogEventsList {
 
        // @TODO: split up!
        private function logActionLinks( $row, $title, $paramArray, &$comment ) {
-               global $wgUser, $wgLang;
+               global $wgUser;
                if( ( $this->flags & self::NO_ACTION_LINK ) // we don't want to see the action
                        || self::isDeleted( $row, LogPage::DELETED_ACTION ) ) // action is hidden
                {
@@ -913,7 +913,6 @@ class LogPager extends ReverseChronologicalPager {
        }
 
        public function getQueryInfo() {
-               global $wgOut;
                $tables = array( 'logging', 'user' );
                $this->mConds[] = 'user_id = log_user';
                $index = array();
@@ -1089,6 +1088,7 @@ class LogViewer {
         * Take over the whole output page in $wgOut with the log display.
         */
        public function show() {
+               global $wgOut;
                # Set title and add header
                $this->list->showHeader( $pager->getType() );
                # Show form options