From 05a2b26d9038752a40348a3f226e44710833c49b Mon Sep 17 00:00:00 2001 From: raylu Date: Sat, 2 Jul 2011 17:02:07 -0700 Subject: pull in dev branch changes not pulled: swiftmailer, gzip --- controllers/AnimelistController.php | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'controllers/AnimelistController.php') diff --git a/controllers/AnimelistController.php b/controllers/AnimelistController.php index add8fb7..47e5de2 100644 --- a/controllers/AnimelistController.php +++ b/controllers/AnimelistController.php @@ -94,17 +94,10 @@ class AnimeListController extends \lithium\action\Controller { $entry->my_tags = explode(',', $this->request->data['tags']); unset($this->request->data['tags']); } - - /* - var_dump($entry->_validates); - //If the entry is valid - if (Validator::check($entry->data(),$entry->_validates, array('skipEmpty' => true))) { - //Store it, :TODO: make sure this passes at some point, silent failures suck - $entry->add($username); - */ if($entry->add($username)) { + //Redirect the user to their anime list return $this->redirect("/animelist/view/$username"); } -- cgit v1.2.3