Default is not necessary for toggle fields
authorChad Horohoe <chadh@wikimedia.org>
Thu, 22 Aug 2013 17:05:14 +0000 (10:05 -0700)
committerChad Horohoe <chadh@wikimedia.org>
Thu, 22 Aug 2013 17:42:19 +0000 (10:42 -0700)
Change-Id: Ia11290431bc19905f744b65b001adc53c023e2ca

includes/Preferences.php

index 39a399f..bcb63c2 100644 (file)
@@ -307,7 +307,6 @@ class Preferences {
                        $defaultPreferences['prefershttps'] = array(
                                'type' => 'toggle',
                                'label-message' => 'tog-prefershttps',
-                               'default' => true,
                                'section' => 'personal/info'
                        );
                }