summaryrefslogtreecommitdiff
path: root/backend.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2012-09-10 20:15:45 +0400
committerAndrew Dolgov <[email protected]>2012-09-10 20:15:45 +0400
commit675f198a7c7254326ac3ff25be2e05242e409611 (patch)
tree1c49f1a195123e8f8efd117d11f80a9bba42131c /backend.php
parent2d6847495f204c6b50d378843ccff899d0fbe46c (diff)
rework login form
Diffstat (limited to 'backend.php')
-rw-r--r--backend.php14
1 files changed, 0 insertions, 14 deletions
diff --git a/backend.php b/backend.php
index 87b0945b1..bf87b55d3 100644
--- a/backend.php
+++ b/backend.php
@@ -63,20 +63,6 @@
authenticate_user($link, "admin", null);
}
- // TODO remove and handle within Handlers
-
- /* if (!($_SESSION["uid"] && validate_session($link))) {
- if ($op == 'pref-feeds' && $method == 'add') {
- header("Content-Type: text/html");
- login_sequence($link);
- render_login_form($link);
- } else {
- header("Content-Type: text/plain");
- print json_encode(array("error" => array("code" => 6)));
- }
- return;
- } */
-
$purge_intervals = array(
0 => __("Use default"),
-1 => __("Never purge"),