function imagecache_external_update_7102 in Imagecache External 7.2
Change the white-/blacklist functionality to whitelist-only.
File
- ./
imagecache_external.install, line 70 - (Un)install and update functions.
Code
function imagecache_external_update_7102() {
$use_whitelist = variable_get('imagecache_external_option', 'white') == 'white';
variable_set('imagecache_external_use_whitelist', $use_whitelist);
variable_del('imagecache_external_option');
}