diff options
-rw-r--r-- | gmap_arcgis.install | 21 | ||||
-rw-r--r-- | gmap_arcgis.module | 11 |
2 files changed, 21 insertions, 11 deletions
diff --git a/gmap_arcgis.install b/gmap_arcgis.install new file mode 100644 index 0000000..6115d82 --- /dev/null +++ b/gmap_arcgis.install @@ -0,0 +1,21 @@ +<?php +// $Id$ + +/** + * @file + * Install file for ArcGIS GMap Integration + * + * This module implements support for ArcGIS API + * into a GMap. + */ + +/** + * Implementation of hook_install(). + */ +function gmap_arcgis_install() { + /** + * We need to make sure that this module be the last one + * in the hook execution order. + */ + db_query("UPDATE {system} SET weight = 10 WHERE name = 'gmap_arcgis'"); +} diff --git a/gmap_arcgis.module b/gmap_arcgis.module index 31fa29d..198def1 100644 --- a/gmap_arcgis.module +++ b/gmap_arcgis.module @@ -10,17 +10,6 @@ */ /** - * Implementation of hook_install(). - */ -function gmap_arcgis_install() { - /** - * We need to make sure that this module be the last one - * in the hook execution order. - */ - db_query("UPDATE {system} SET weight = 10 WHERE name = 'gmap_arcgis'"); -} - -/** * Implementation of hook_gmap(). */ function gmap_arcgis_gmap($op, &$map) { |