-require_once('include/cache.php');
-
-
-function googlemaps_install() {
- register_hook('render_location', 'addon/googlemaps/googlemaps.php', 'googlemaps_location');
+function googlemaps_install()
+{
+ Addon::registerHook('render_location', 'addon/googlemaps/googlemaps.php', 'googlemaps_location');