diff options
author | Malf Furious <m@lfurio.us> | 2016-05-21 22:16:18 -0400 |
---|---|---|
committer | Malf Furious <m@lfurio.us> | 2016-05-21 22:16:18 -0400 |
commit | 685c64e3ac98bcf5fc2b17fade4f00726e95b8b0 (patch) | |
tree | 5a3c327da17f92ed1513b0e7821acc211cdb4ceb /app/controller/root.control.php | |
parent | 32e4e9606fb2ac95b236913fcc0a98a7ee23bccd (diff) | |
download | scrott-685c64e3ac98bcf5fc2b17fade4f00726e95b8b0.tar.gz scrott-685c64e3ac98bcf5fc2b17fade4f00726e95b8b0.zip |
Hook Deleteacct in the Root app controller
Diffstat (limited to '')
-rw-r--r-- | app/controller/root.control.php | 2 |
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; |