aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Logout.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-10-16 18:20:17 -0700
committerzotlabs <mike@macgirvin.com>2017-10-16 18:20:17 -0700
commit9497c6c0f7470800a54b0c8f60467f675b32c5ed (patch)
tree99092dcb6b503cf92633395325cdfb2f25cd299d /Zotlabs/Module/Logout.php
parent4dd05dc4e88171fb2bcaacde8c0699f64f6bb7e5 (diff)
parentb8a9390f49bf69f3a982cb44e7dfab6e55e6e5d3 (diff)
downloadvolse-hubzilla-9497c6c0f7470800a54b0c8f60467f675b32c5ed.tar.gz
volse-hubzilla-9497c6c0f7470800a54b0c8f60467f675b32c5ed.tar.bz2
volse-hubzilla-9497c6c0f7470800a54b0c8f60467f675b32c5ed.zip
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into dev_merge
Diffstat (limited to 'Zotlabs/Module/Logout.php')
-rw-r--r--Zotlabs/Module/Logout.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/Zotlabs/Module/Logout.php b/Zotlabs/Module/Logout.php
new file mode 100644
index 000000000..6aa11d110
--- /dev/null
+++ b/Zotlabs/Module/Logout.php
@@ -0,0 +1,12 @@
+<?php
+
+namespace Zotlabs\Module;
+
+class Logout extends \Zotlabs\Web\Controller {
+
+ function init() {
+ \App::$session->nuke();
+ goaway(z_root());
+
+ }
+} \ No newline at end of file