X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=rendertime%2Frendertime.php;h=acc6521a5468c20c1fd9a5c08d1369e40a6f3f22;hb=14c09c1bbba1324bd03f58d6af123ba53b29070c;hp=505bceca59d1afc7f431acd00579acd8eb5b10f3;hpb=bbc629544f66f90d2e47d71094d34b436aaf70b8;p=friendica-addons.git diff --git a/rendertime/rendertime.php b/rendertime/rendertime.php index 505bceca..acc6521a 100644 --- a/rendertime/rendertime.php +++ b/rendertime/rendertime.php @@ -8,19 +8,12 @@ */ use Friendica\Core\Hook; -use Friendica\Core\L10n; use Friendica\DI; function rendertime_install() { Hook::register('page_end', 'addon/rendertime/rendertime.php', 'rendertime_page_end'); } - -function rendertime_uninstall() { - Hook::unregister('init_1', 'addon/rendertime/rendertime.php', 'rendertime_init_1'); - Hook::unregister('page_end', 'addon/rendertime/rendertime.php', 'rendertime_page_end'); -} - function rendertime_init_1(&$a) { } @@ -40,7 +33,7 @@ function rendertime_page_end(Friendica\App $a, &$o) if (is_site_admin() && (($_GET['mode'] ?? '') != 'minimal') && !DI::mode()->isMobile() && !DI::mode()->isMobile() && !$ignored) { - $o = $o . '