diff options
author | Silvio <silvio@devlet.com.br> | 2010-10-08 15:34:02 -0300 |
---|---|---|
committer | Silvio <silvio@devlet.com.br> | 2010-10-08 15:34:02 -0300 |
commit | ebbcd617393c83364699592dfeca8c6e7c3a578a (patch) | |
tree | cb940bddbed4b1ad1cfcfb1a1e0496dfc5a5ad03 /exif_location/exif_location.install | |
parent | 6715a36dad52d37b54c63c9ccc0f9532d61e1b43 (diff) | |
download | exif-ebbcd617393c83364699592dfeca8c6e7c3a578a.tar.gz exif-ebbcd617393c83364699592dfeca8c6e7c3a578a.tar.bz2 |
CVS update
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 |