Changeset 30424


Ignore:
Timestamp:
Nov 11, 2014, 11:03:22 AM (9 years ago)
Author:
ddtddt
Message:

[extensions] - see_photos_by_user new class install

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/see_photos_by_user/maintain.class.php

    r30423 r30424  
    2525    global $conf;
    2626    if (!isset($conf['see_photos_by_user_nbphotos'])) {
    27         conf_update_param('see_photos_by_user_nbphotos', '0');
     27        conf_update_param('see_photos_by_user_nbphotos', '0',true);
    2828    }
    2929    if (!isset($conf['see_photos_by_user_limit'])) {
    30         conf_update_param('see_photos_by_user_limit', '1000');
     30        conf_update_param('see_photos_by_user_limit', '1000',true);
    3131    }
    3232    if (!isset($conf['see_photos_by_user_order'])) {
     
    3434    }
    3535    if (!isset($conf['see_photos_by_user_show'])||$conf['see_photos_by_user_show']>2) {
    36         conf_update_param('see_photos_by_user_show', '1');
     36        conf_update_param('see_photos_by_user_show', '1',true);
    3737    }
    3838    if (!isset($conf['see_photos_by_user_show_user_home'])) {
    39         conf_update_param('see_photos_by_user_show_user_home', '1');
     39        conf_update_param('see_photos_by_user_show_user_home', '1',true);
    4040    }
    4141    if (!isset($conf['see_photos_by_user_color'])) {
    42         conf_update_param('see_photos_by_user_color', '#ffffff');
     42        conf_update_param('see_photos_by_user_color', '#ffffff',true);
    4343    }
    4444  }
Note: See TracChangeset for help on using the changeset viewer.