summaryrefslogtreecommitdiff
path: root/public/app/controllers/Office.php
diff options
context:
space:
mode:
Diffstat (limited to 'public/app/controllers/Office.php')
-rw-r--r--public/app/controllers/Office.php9
1 files changed, 1 insertions, 8 deletions
diff --git a/public/app/controllers/Office.php b/public/app/controllers/Office.php
index c67249a..7a542eb 100644
--- a/public/app/controllers/Office.php
+++ b/public/app/controllers/Office.php
@@ -23,7 +23,6 @@ class Office {
## PERMITION
## -------------------------------------------------------------------------
-
/** is admin or permited
*
* shortcut method for checking access authorization
@@ -52,7 +51,6 @@ class Office {
## SERVE FILE
## -------------------------------------------------------------------------
-
/** serve file by file_path
* (request is valid only for admin users)
*
@@ -116,7 +114,6 @@ class Office {
## secretarial support / serve forms for teachers' requests and applications
## -------------------------------------------------------------------------
-
/** request any (empty/new) petition form
*
* The method acts as an authorization checker and internal router
@@ -268,7 +265,6 @@ class Office {
## handle submits of forms
## -------------------------------------------------------------------------
-
/** add_petition
*
* handle an add petition request (petition form is submited)
@@ -309,7 +305,6 @@ class Office {
## LIST PETITIONS
## -------------------------------------------------------------------------
-
public static function user_petitions()
{
$manager = new App_manager(); // use APP Manager
@@ -326,7 +321,6 @@ class Office {
}
-
public static function all_petitions()
{
if (Auth::in_admin_group()) {
@@ -338,7 +332,6 @@ class Office {
}
-
public static function petition_copy($sign)
{
if (Auth::in_admin_group()) {
@@ -359,6 +352,7 @@ class Office {
+
## TICKET METHODS (create, remove)
## tickets eliminate CSRF attacks
## -------------------------------------------------------------------------
@@ -415,7 +409,6 @@ class Office {
-
## ADMIN METHODS (insert, updated etc.)
## -------------------------------------------------------------------------