You are here

exif_location.install in Exif 6

Same filename and directory in other branches
  1. 7 exif_location/exif_location.install

This is the exif location install part

File

exif_location/exif_location.install
View source
<?php

/**
 * @file This is the exif location install part
 */

/*
 * Hook sets weight must be higher than exif module (-10), but lower than location (0 by default).
 */
function exif_location_install() {
  $ret = array();
  $ret[] = db_query("UPDATE {system} SET weight = -2 WHERE name = 'exif_location'");
  return $ret;
}
function exif_location_update_6001() {
  $return = array();
  $return[] = update_sql("UPDATE {system} SET weight = -2 WHERE name = 'exif_location'");
  return $return;
}