function mobile_codes_update_7201 in Mobile Codes 7.2
Set default value for 'Storage directory'.
File
- ./
mobile_codes.install, line 278
Code
function mobile_codes_update_7201() {
$settings = mobile_codes_defaults();
if (!isset($settings['general']['path']) || empty($settings['general']['path'])) {
$settings['general']['path'] = 'public://mobile_codes';
}
variable_set('mobile_codes_settings', $settings);
}