You are here

function flickr_update_7001 in Flickr 7

Create new index 'license' on the variable 'flickr_info_overlay'.

File

./flickr.install, line 116
The Flickr database schema and uninstall hook.

Code

function flickr_update_7001() {
  $overlay = variable_get('flickr_info_overlay', array(
    'title' => 'title',
    'metadata' => 'metadata',
    'description' => 'description',
    'license' => 0,
  ));
  if (!isset($overlay['license'])) {
    variable_set('flickr_info_overlay', array(
      'title' => 'title',
      'metadata' => 'metadata',
      'description' => 'description',
      'license' => 0,
    ));
  }
}