Changeset 26626 for extensions/oAuth/maintain.inc.php
- Timestamp:
- Jan 11, 2014, 3:50:26 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/oAuth/maintain.inc.php
r26619 r26626 11 11 'identification_icon' => '38px', 12 12 'menubar_icon' => '26px', 13 'allow_merge_accounts' => true, 13 14 ); 14 15 … … 30 31 $conf['oauth'] = serialize($this->default_conf); 31 32 conf_update_param('oauth', $conf['oauth']); 33 } 34 else 35 { 36 $old_conf = is_string($conf['oauth']) ? unserialize($conf['oauth']) : $conf['oauth']; 37 38 if (!isset($old_conf['allow_merge_accounts'])) 39 { 40 $old_conf['allow_merge_accounts'] = true; 41 42 $conf['oauth'] = serialize($old_conf); 43 conf_update_param('oauth', $conf['oauth']); 44 } 32 45 } 33 46 … … 55 68 } 56 69 57 // add fields in hybridauth conf file70 // add 'total' and 'enabled' fields in hybridauth conf file 58 71 if (file_exists($this->file)) 59 72 {
Note: See TracChangeset
for help on using the changeset viewer.