]> git.mxchange.org Git - friendica-addons.git/blobdiff - newmemberwidget/newmemberwidget.php
rendertime addon HU translation added THX Balázs Úr
[friendica-addons.git] / newmemberwidget / newmemberwidget.php
index 103d158ac81215dbb69ac1b3b05d68ba71c704c2..90f0c38da462b5e9a694288da048ec7ff42d0c4f 100644 (file)
@@ -1,13 +1,12 @@
 <?php
 /***
  * Name: New Member Widget
- * Description: Adds a widget for new members into the sidebar of the network page. The widget will be displayed for the 1st 14days of a account existance and contains a link to the new member page and a free-form text the admin can define.
+ * Description: Adds a widget for new members into the sidebar of the network page. The widget will be displayed for the first 14 days of an account's existence and contains a link to the new member page and free-form text the admin can define.
  * Version: 1
  * Author: Tobias Diekershoff <https://f.diekershoff.de/profile/tobias>
  ***/
 
 use Friendica\Content\Text\BBCode;
-use Friendica\Core\Config;
 use Friendica\Core\Hook;
 use Friendica\Core\Logger;
 use Friendica\Core\Renderer;
@@ -20,11 +19,6 @@ function newmemberwidget_install()
        Logger::log('newmemberwidget installed');
 }
 
-function newmemberwidget_uninstall()
-{
-       Hook::unregister( 'network_mod_init', 'addon/newmemberwidget/newmemberwidget.php', 'newmemberwidget_network_mod_init');
-}
-
 function newmemberwidget_network_mod_init ($a, $b)
 {
        if (empty($_SESSION['new_member'])) {