Skip to content
  1. Apr 17, 2009
  2. Mar 02, 2009
  3. Feb 24, 2009
  4. Dec 11, 2008
  5. Oct 09, 2008
    • Brandon Bergren's avatar
      * Add function location_province_code(). · 42e9eb5c
      Brandon Bergren authored
      * Fix $op 'delete' on hook_locationapi().
      * API CHANGE: Use location_save_locations() with an empty array instead of deleting rows from {location_instance}. This lets us have "real" deletion instead of relying on garbage collection.
      
      Before:
      <code>
      db_query("DELETE FROM {location_instance} WHERE genid = '%s'", 'mykey:'. $obj->id);
      </code>
      
      After:
      <code>
      $locations = array();
      location_save_locations($locations, array('genid' => 'mykey:'. $obj->id));
      </code>
      
      * Remove garbage collection routine and UI from settings page. References are checked automatically now.
      42e9eb5c
  6. Sep 29, 2008
  7. Sep 17, 2008
  8. Sep 10, 2008
  9. Sep 08, 2008
  10. Aug 06, 2008
  11. Jul 24, 2008
  12. Jul 07, 2008
  13. Jun 06, 2008
    • Brandon Bergren's avatar
      Don't use variable_get('gmap_user_map',... · 9424777a
      Brandon Bergren authored
      Don't use variable_get('gmap_user_map', '[gmap|center=0,30|zoom=16|width=100%|height=400px]') for the location chooser map. That's just stupid.
      
      Give it its own variable and set the default to '[gmap]' (i.e. inherit everything).
      9424777a
  14. Jun 05, 2008
  15. Mar 06, 2008
  16. Feb 27, 2008