r54651 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r54650‎ | r54651 | r54652 >
Date:11:45, 9 August 2009
Author:siebrand
Status:ok
Tags:
Comment:
Fix preference name.

Use "UPDATE `user_properties` SET up_property = 'translate-nonewsletter' WHERE up_property = 'translate'" to update.
Modified paths:
  • /trunk/extensions/Translate/utils/UserToggles.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Translate/utils/UserToggles.php
@@ -11,7 +11,7 @@
1212 // 'translate-pref-nonewsletter' is used as opt-out for
1313 // users with a confirmed e-mail address
1414 $prefs = array(
15 - 'translate' => array(
 15+ 'translate-nonewsletter' => array(
1616 'type' => 'toggle',
1717 'section' => 'personal/email',
1818 'label-message' => 'translate-pref-nonewsletter'

Status & tagging log