blob: 3ccb94f7d3914be8b630b65755b4c8cacea837a5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
<?php
// $Id: exif_location.install,v 1.1.2.4 2010/10/08 17:57:43 rapsli Exp $
/**
* @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;
}
|