diff --git a/src/Model/AnimeCollection.php b/src/Model/AnimeCollection.php index da8e989a..42312ad3 100644 --- a/src/Model/AnimeCollection.php +++ b/src/Model/AnimeCollection.php @@ -120,8 +120,6 @@ class AnimeCollection extends Collection { public function add($data) { $anime = (object)$this->anime_model->getAnimeById($data['id']); - $util = $this->container->get('util'); - $this->db->set([ 'hummingbird_id' => $data['id'], 'slug' => $anime->slug, @@ -285,21 +283,5 @@ class AnimeCollection extends Collection { 'links' => $links ]; } - - /** - * Update genre information for the entire collection - * - * @return void - */ - private function update_genres() - { - // Get the anime collection - $collection = $this->_get_collection(); - foreach ($collection as $anime) - { - // Get api information - $this->update_genre($anime['hummingbird_id']); - } - } } // End of AnimeCollectionModel.php \ No newline at end of file diff --git a/tests/DispatcherTest.php b/tests/DispatcherTest.php index 4b9202f9..5f0e0792 100644 --- a/tests/DispatcherTest.php +++ b/tests/DispatcherTest.php @@ -132,7 +132,6 @@ class DispatcherTest extends AnimeClient_TestCase { $request = $this->container->get('request'); $aura_router = $this->container->get('aura-router'); - $matcher = $aura_router->getMatcher(); // Check route setup