You are here

function openlayers_cck_update_6101 in Openlayers 6

Implementation of hook_update_N().

No need for translation in update function: http://drupal.org/node/322731

File

modules/openlayers_cck/openlayers_cck.install, line 95
This file holds the functions for the installing and enabling of the openlayers_cck module.

Code

function openlayers_cck_update_6101(&$sandbox) {

  // As needed for upgrading to 2.x (while accounting
  // for 0.x), we set a variable that can help
  // the upgrade function in 2.x understand what needs
  // to be done.  Note, it is not meant to actually
  // maintain the schema version.
  variable_set('openlayers_cck_schema_version', 6100);
  return array(
    0 => array(
      'success' => TRUE,
      'query' => 'Setup for upgrading to 2.x: openlayers_cck_schema_version',
    ),
  );
}