aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Removeme.php
diff options
context:
space:
mode:
Diffstat (limited to 'Zotlabs/Module/Removeme.php')
-rw-r--r--Zotlabs/Module/Removeme.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/Zotlabs/Module/Removeme.php b/Zotlabs/Module/Removeme.php
index 9b634672a..e611d8112 100644
--- a/Zotlabs/Module/Removeme.php
+++ b/Zotlabs/Module/Removeme.php
@@ -35,8 +35,6 @@ class Removeme extends \Zotlabs\Web\Controller {
}
}
- require_once('include/Contact.php');
-
$global_remove = intval($_POST['global']);
channel_remove(local_channel(),1 - $global_remove,true);
@@ -44,8 +42,7 @@ class Removeme extends \Zotlabs\Web\Controller {
}
-
- function get() {
+ function get() {
if(! local_channel())
goaway(z_root());