diff options
author | raylu <raylu@mixpanel.com> | 2011-07-02 17:02:07 -0700 |
---|---|---|
committer | raylu <raylu@mixpanel.com> | 2011-07-02 17:02:07 -0700 |
commit | 05a2b26d9038752a40348a3f226e44710833c49b (patch) | |
tree | 9bc3e49ac2e84b33ca5ff6e44eb7e5f2c02d13bf /controllers/AnimelistController.php | |
parent | 83483a1826d1d05e2f9733746f35fef1939b8c0a (diff) | |
download | otakuhub-05a2b26d9038752a40348a3f226e44710833c49b.tar.xz |
pull in dev branch changes
not pulled: swiftmailer, gzip
Diffstat (limited to 'controllers/AnimelistController.php')
-rw-r--r-- | controllers/AnimelistController.php | 9 |
1 files changed, 1 insertions, 8 deletions
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"); } |