From 6dd131780490eb6ab13a4fccff134fe3c409d215 Mon Sep 17 00:00:00 2001 From: Malf Furious Date: Thu, 8 Feb 2018 00:43:49 -0500 Subject: Reorg examples/ directory --- examples/controller/obj.control.php | 49 ------------------------------------- 1 file changed, 49 deletions(-) delete mode 100644 examples/controller/obj.control.php (limited to 'examples/controller/obj.control.php') diff --git a/examples/controller/obj.control.php b/examples/controller/obj.control.php deleted file mode 100644 index 2154d16..0000000 --- a/examples/controller/obj.control.php +++ /dev/null @@ -1,49 +0,0 @@ -obj->canAccess($this->getCurrentUser())) - throw new Exception("You do not have permission to access this object"); - - switch ($mod->obj->type) - { - case "group": - $this->action_group($mod); - break; - } - } - - function action_group($mod) - { - include "view/obj/group.view.php"; - } -} - -?> -- cgit v1.2.3