X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=curweather%2Fcurweather.php;h=2b8682d157168316df0a46ccb7641e6082867fd1;hb=02e6e56e85bbad3617f59762f7d5d627e1476f46;hp=2ee55b2643dae6ee1b2c78ee0902ae9b790c8b29;hpb=2c69a9c3597c7363b5ebf3010f276e0225dff35c;p=friendica-addons.git diff --git a/curweather/curweather.php b/curweather/curweather.php index 2ee55b26..2b8682d1 100644 --- a/curweather/curweather.php +++ b/curweather/curweather.php @@ -24,13 +24,6 @@ function curweather_install() Hook::register('addon_settings_post', 'addon/curweather/curweather.php', 'curweather_addon_settings_post'); } -function curweather_uninstall() -{ - Hook::unregister('network_mod_init' , 'addon/curweather/curweather.php', 'curweather_network_mod_init'); - Hook::unregister('addon_settings' , 'addon/curweather/curweather.php', 'curweather_addon_settings'); - Hook::unregister('addon_settings_post', 'addon/curweather/curweather.php', 'curweather_addon_settings_post'); -} - // get the weather data from OpenWeatherMap function getWeather($loc, $units = 'metric', $lang = 'en', $appid = '', $cachetime = 0) {