From 34357cf742dc90af7ac680a59246fa506b7573ec Mon Sep 17 00:00:00 2001 From: Phil Sturgeon Date: Wed, 9 Mar 2011 18:42:05 +0000 Subject: Removed migrate controller. --- application/controllers/migrate.php | 40 ------------------------------------- 1 file changed, 40 deletions(-) delete mode 100644 application/controllers/migrate.php (limited to 'application/controllers') diff --git a/application/controllers/migrate.php b/application/controllers/migrate.php deleted file mode 100644 index e5442e79c..000000000 --- a/application/controllers/migrate.php +++ /dev/null @@ -1,40 +0,0 @@ -load->library('migration'); - - /** VERY IMPORTANT - only turn this on when you need it. */ -// show_error('Access to this controller is blocked, turn me on when you need me.'); - } - - // Install up to the most up-to-date version. - function install() - { - if ( ! $this->migration->current()) - { - show_error($this->migration->error); - exit; - } - - echo "
Migration Successful
"; - } - - // This will migrate up to the configed migration version - function version($id = NULL) - { - // No $id supplied? Use the config version - $id OR $id = $this->config->item('migration_version'); - - if ( ! $this->migration->version($id)) - { - show_error($this->migration->error); - exit; - } - - echo "
Migration Successful
"; - } -} -- cgit v1.2.3-24-g4f1b