function themekey_update_6100 in ThemeKey 6.3
Same name and namespace in other branches
- 6.4 themekey.install \themekey_update_6100()
- 6.2 themekey.install \themekey_update_6100()
- 7.3 themekey.install \themekey_update_6100()
- 7 themekey.install \themekey_update_6100()
- 7.2 themekey.install \themekey_update_6100()
Implements hook_update_N().
File
- ./
themekey.install, line 89 - Database schema of
Code
function themekey_update_6100() {
$properties = variable_get('themekey_properties', array());
foreach ($properties as $key => &$property) {
if (array_key_exists('path', $property) && $key === $property['path']) {
$property['path'] = FALSE;
}
}
variable_set('themekey_properties', $properties);
return array();
}