Implements hook_install().

File

exif_location/exif_location.install, line 11

Code

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;
}