summaryrefslogtreecommitdiffstats
path: root/controllers/AnimelistController.php
diff options
context:
space:
mode:
authorraylu <raylu@mixpanel.com>2011-07-02 17:02:07 -0700
committerraylu <raylu@mixpanel.com>2011-07-02 17:02:07 -0700
commit05a2b26d9038752a40348a3f226e44710833c49b (patch)
tree9bc3e49ac2e84b33ca5ff6e44eb7e5f2c02d13bf /controllers/AnimelistController.php
parent83483a1826d1d05e2f9733746f35fef1939b8c0a (diff)
downloadotakuhub-05a2b26d9038752a40348a3f226e44710833c49b.tar.xz
pull in dev branch changes
not pulled: swiftmailer, gzip
Diffstat (limited to 'controllers/AnimelistController.php')
-rw-r--r--controllers/AnimelistController.php9
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");
}