diff options
Diffstat (limited to 'exif_location/exif_location.install')
-rw-r--r-- | exif_location/exif_location.install | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/exif_location/exif_location.install b/exif_location/exif_location.install index a1fb871..3ccb94f 100644 --- a/exif_location/exif_location.install +++ b/exif_location/exif_location.install @@ -1,12 +1,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 less than exif module (zero by default). + * 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'"); + $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; +}
\ No newline at end of file |