From 4d10f3b3b7223627e9f623d89415a70680560b55 Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Sat, 2 Dec 2017 08:42:44 -0500 Subject: [PATCH] Remove unused use statement --- mod/admin.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/mod/admin.php b/mod/admin.php index fcd67aa9e1..1e7d90436f 100644 --- a/mod/admin.php +++ b/mod/admin.php @@ -11,7 +11,6 @@ use Friendica\Core\Config; use Friendica\Core\Worker; use Friendica\Database\DBM; use Friendica\Model\User; -use Friendica\Network\Probe; use Friendica\Object\Contact; require_once 'include/enotify.php'; @@ -33,8 +32,6 @@ require_once 'include/items.php'; */ function admin_post(App $a) { - - if (!is_site_admin()) { return; }