diff options
| author | horus | 2020-07-23 19:07:12 +0200 |
|---|---|---|
| committer | horus | 2020-07-23 19:07:12 +0200 |
| commit | 0c615e5ed6bd7cae961c2fe7a9d841cfb512ece4 (patch) | |
| tree | 40ef100acf1a091cbf14859a345ba55eaa4ad643 /app | |
| parent | c4b821cc89cd80cb23f52c5d38e90f6defb2e835 (diff) | |
| download | senpai-0c615e5ed6bd7cae961c2fe7a9d841cfb512ece4.tar.gz | |
Drops column is_airing from database.
Diffstat (limited to 'app')
| -rw-r--r-- | app/Anime.php | 2 | ||||
| -rw-r--r-- | app/Libraries/Background.php | 1 |
2 files changed, 0 insertions, 3 deletions
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 ) { |
