summaryrefslogtreecommitdiff
path: root/modules/gallery/controllers
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2010-08-01 22:09:02 -0700
committerBharat Mediratta <bharat@menalto.com>2010-08-01 22:09:02 -0700
commit3e8d683ce4bf6cf41b67e61ebe76c32c129105e4 (patch)
tree75f833ae2af101ecbdff54aaa75315df69cbdb2d /modules/gallery/controllers
parentca54cdd6448ec919efe3853992dc652b7c671d97 (diff)
Use the login/html page for maintenance mode; we don't need the
maintenance controller/view anymore. Fixes ticket #1267.
Diffstat (limited to 'modules/gallery/controllers')
-rw-r--r--modules/gallery/controllers/maintenance.php25
1 files changed, 0 insertions, 25 deletions
diff --git a/modules/gallery/controllers/maintenance.php b/modules/gallery/controllers/maintenance.php
deleted file mode 100644
index 43fdfc55..00000000
--- a/modules/gallery/controllers/maintenance.php
+++ /dev/null
@@ -1,25 +0,0 @@
-<?php defined("SYSPATH") or die("No direct script access.");
-/**
- * Gallery - a web based photo album viewer and editor
- * Copyright (C) 2000-2010 Bharat Mediratta
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or (at
- * your option) any later version.
- *
- * This program is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
- */
-class Maintenance_Controller extends Controller {
- function index() {
- Session::instance()->set("continue_url", url::abs_site("admin/maintenance"));
- print new View("maintenance.html");
- }
-} \ No newline at end of file