summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/controller/deauth.control.php26
1 files changed, 26 insertions, 0 deletions
diff --git a/app/controller/deauth.control.php b/app/controller/deauth.control.php
new file mode 100644
index 0000000..d223e9e
--- /dev/null
+++ b/app/controller/deauth.control.php
@@ -0,0 +1,26 @@
+<?php
+
+require_once "class/controller.class.php";
+require_once "model/deauth.mod.php";
+
+/*
+ * Deauth is used to terminate the current session (logout)
+ */
+class Deauth extends Controller
+{
+ /*
+ * Controller implementation
+ */
+ function handle($argv)
+ {
+ $mod = new DeauthModel();
+ $this->action_default($mod);
+ }
+
+ function action_default($mod)
+ {
+ $mod->deflt();
+ }
+}
+
+?>