From 0c615e5ed6bd7cae961c2fe7a9d841cfb512ece4 Mon Sep 17 00:00:00 2001 From: horus Date: Thu, 23 Jul 2020 19:07:12 +0200 Subject: Drops column is_airing from database. --- app/Anime.php | 2 -- app/Libraries/Background.php | 1 - 2 files changed, 3 deletions(-) (limited to 'app') diff --git a/app/Anime.php b/app/Anime.php index 6f7f0c1..08c0dd1 100644 --- a/app/Anime.php +++ b/app/Anime.php @@ -26,7 +26,6 @@ class Anime extends Model { 'anime_type', 'broadcasted', 'episodes', - 'is_airing', 'airing_status' ]; @@ -72,7 +71,6 @@ class Anime extends Model { $this->broadcasted = $animeInfo->getBroadcast(); $this->episodes = $animeInfo->getEpisodes(); - $this->is_airing = $animeInfo->isAiring(); $this->airing_status = getAiringStatusCode($animeInfo->getStatus()); } diff --git a/app/Libraries/Background.php b/app/Libraries/Background.php index 2d7c7fb..9c9f336 100644 --- a/app/Libraries/Background.php +++ b/app/Libraries/Background.php @@ -140,7 +140,6 @@ class Background { * Sleep to avoid 403 by MAL. */ sleep(10); - #$anime->fill( $entry->getMalID(), $is_airing=true ); $anime->fill( $entry->getMalID() ); if ( "" == $anime->url ) { -- cgit v1.2.3