Changeset 16939 for extensions/SmartAlbums/maintain.inc.php
- Timestamp:
- Jul 23, 2012, 6:16:34 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/SmartAlbums/maintain.inc.php
r16654 r16939 8 8 'update_on_upload' => false, 9 9 'show_list_messages' => true, 10 'smart_is_forbidden' => true, 10 11 ))); 11 12 … … 37 38 conf_update_param('SmartAlbums', smart_default_config); 38 39 } 40 else 41 { 42 $new_conf = unserialize($conf['SmartAlbums']); 43 // new param in 2.0.2 44 if (!isset($new_conf['smart_is_forbidden'])) 45 { 46 $new_conf['smart_is_forbidden'] = true; 47 conf_update_param('SmartAlbums', smart_default_config); 48 } 49 } 39 50 40 / * some filters renamed in 1.2 */51 // some filters renamed in 2.0 41 52 $name_changes = array( 42 53 'the' => 'the_post',
Note: See TracChangeset
for help on using the changeset viewer.