r39116 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r39115‎ | r39116 | r39117 >
Date:04:11, 11 August 2008
Author:aaron
Status:old
Tags:
Comment:
backport message fix
Modified paths:
  • /branches/REL1_13/extensions/FlaggedRevs/FlaggedRevs.class.php (modified) (history)

Diff [purge]

Index: branches/REL1_13/extensions/FlaggedRevs/FlaggedRevs.class.php
@@ -2049,11 +2049,13 @@
20502050 # Add editor rights
20512051 $newGroups = $groups ;
20522052 array_push( $newGroups, 'editor' );
 2053+ $user->addGroup('editor');
 2054+
 2055+ wfLoadExtensionMessages( 'FlaggedRevs' );
20532056 # Lets NOT spam RC, set $RC to false
20542057 $log = new LogPage( 'rights', false );
20552058 $log->addEntry( 'rights', $user->getUserPage(), wfMsg('rights-editor-autosum'),
20562059 array( implode(', ',$groups), implode(', ',$newGroups) ) );
2057 - $user->addGroup('editor');
20582060
20592061 wfProfileOut( __METHOD__ );
20602062 return true;

Status & tagging log