This is the EXIF Location install part.
File
-
exif_location/
exif_location.install
View source
<?php
/**
* @file
* This is the EXIF Location install part.
*/
/**
* Implements hook_install().
*/
function exif_location_install() {
$ret = array();
// Hook sets weight must be higher than exif module (-10), but lower than
// location (0 by default).
$ret[] = db_query("UPDATE {system} SET weight = -2 WHERE name = 'exif_location'");
return $ret;
}
Functions
Title | Deprecated | Summary |
---|---|---|
exif_location_install | Implements hook_install(). |