aboutsummaryrefslogtreecommitdiff
path: root/controllers/user.php
diff options
context:
space:
mode:
Diffstat (limited to 'controllers/user.php')
-rw-r--r--controllers/user.php18
1 files changed, 0 insertions, 18 deletions
diff --git a/controllers/user.php b/controllers/user.php
deleted file mode 100644
index 78797db..0000000
--- a/controllers/user.php
+++ /dev/null
@@ -1,18 +0,0 @@
-<?php
-
-function on_get() {
- global $user;
- try {
- $user = Database\User::fromDB($_GET["user"]);
- }
- catch(Exception $e) {}
-}
-
-function on_post() {
- global $user;
- try {
- $headers = apache_request_headers();
- $user = Database\Cookie::fromDB($headers["Authorization"]);
- }
- catch(Exception $e) {}
-}