summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMalf Furious <m@lfurio.us>2016-05-21 22:16:18 -0400
committerMalf Furious <m@lfurio.us>2016-05-21 22:16:18 -0400
commit685c64e3ac98bcf5fc2b17fade4f00726e95b8b0 (patch)
tree5a3c327da17f92ed1513b0e7821acc211cdb4ceb
parent32e4e9606fb2ac95b236913fcc0a98a7ee23bccd (diff)
downloadscrott-685c64e3ac98bcf5fc2b17fade4f00726e95b8b0.tar.gz
scrott-685c64e3ac98bcf5fc2b17fade4f00726e95b8b0.zip
Hook Deleteacct in the Root app controller
-rw-r--r--app/controller/root.control.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/controller/root.control.php b/app/controller/root.control.php
index 7017ada..341fa8a 100644
--- a/app/controller/root.control.php
+++ b/app/controller/root.control.php
@@ -7,6 +7,7 @@ require_once "controller/except.control.php";
require_once "controller/auth.control.php";
require_once "controller/deauth.control.php";
require_once "controller/dashboard.control.php";
+require_once "controller/deleteacct.control.php";
/*
* Root-level controller for Scrott app. This object will delegate the page request to the
@@ -65,6 +66,7 @@ class Root extends Controller
switch ($argv[0])
{
case "logout": $ctrl = new Deauth(); break;
+ case "deleteaccount": $ctrl = new Deleteacct(); break;
default:
throw new Exception("The requested path is not valid.");
break;