diff options
author | silvio <silvio@gota.(none)> | 2009-11-25 17:47:26 -0200 |
---|---|---|
committer | silvio <silvio@gota.(none)> | 2009-11-25 17:47:26 -0200 |
commit | 532df1b2195b215e5403162cb22e34d83750c9a9 (patch) | |
tree | f7cb248d03954b17715341f403a70f7641869eb5 | |
parent | fba60b36bbbd3c46b07bd012753852fa41eba283 (diff) | |
download | gmap_arcgis-532df1b2195b215e5403162cb22e34d83750c9a9.tar.gz gmap_arcgis-532df1b2195b215e5403162cb22e34d83750c9a9.tar.bz2 |
Adding install file
-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) { |