Whitespace and deadcode nitpick

This commit is contained in:
Lucas Bickel 2017-03-10 16:20:44 +01:00
parent 6e50af344a
commit 2a53241ba3
15 changed files with 59 additions and 122 deletions

View file

@ -1,7 +1,6 @@
<?php
class AutoPlaylistManager {
/**
* @var int how often, in seconds, to check for and ingest new podcast episodes
*/
@ -19,7 +18,6 @@ class AutoPlaylistManager {
return empty($lastPolled) || (microtime(true) > $lastPolled + self::$_AUTOPLAYLIST_POLL_INTERVAL_SECONDS);
}
/*
* This function is copied from the TestUser class and is used to instantiate a user so that
* the Scheduler model can be utilized by buildAutoPlaylist.
@ -45,7 +43,6 @@ class AutoPlaylistManager {
}
}
/**
* Find all shows with autoplaylists who have yet to have their playlists built and added to the schedule
*
@ -70,7 +67,6 @@ class AutoPlaylistManager {
Zend_Session::stop();
}
/**
* Find all show instances starting in the next hour with autoplaylists not yet added to the schedule
*
@ -93,5 +89,4 @@ class AutoPlaylistManager {
->filterByDbAutoPlaylistBuilt(false)
->find();
}
}

View file

@ -223,7 +223,6 @@ class CeleryTask implements AirtimeTask {
}
/**
*
* Class AutoPlaylistTask
*
* Checks for shows with an autoplaylist that needs to be filled in
@ -231,7 +230,6 @@ class CeleryTask implements AirtimeTask {
*/
class AutoPlaylistTask implements AirtimeTask
{
/**
* Checks whether or not the autoplaylist polling interval has passed
*
@ -251,8 +249,6 @@ class AutoPlaylistTask implements AirtimeTask
}
}
/**
* Class PodcastTask
*