Whitespace and deadcode nitpick
This commit is contained in:
parent
6e50af344a
commit
2a53241ba3
15 changed files with 59 additions and 122 deletions
|
@ -33,4 +33,18 @@ class Application_Model_Library
|
|||
}
|
||||
}
|
||||
|
||||
public static function getPlaylistNames()
|
||||
{
|
||||
$playlistNames = array(NULL => _("None"));
|
||||
|
||||
$playlists = CcPlaylistQuery::create()
|
||||
->setFormatter(ModelCriteria::FORMAT_ON_DEMAND)
|
||||
->find();
|
||||
|
||||
foreach ($playlists as $playlist) {
|
||||
$playlistNames[$playlist->getDbId()] = $playlist->getDbName();
|
||||
}
|
||||
|
||||
return $playlistNames;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -129,7 +129,6 @@ class Application_Model_Show
|
|||
return $this->_showId;
|
||||
}
|
||||
|
||||
|
||||
public function getHasAutoPlaylist()
|
||||
{
|
||||
$show = CcShowQuery::create()->findPK($this->_showId);
|
||||
|
@ -156,7 +155,6 @@ class Application_Model_Show
|
|||
$show->setDbAutoPlaylistId($playlistid);
|
||||
}
|
||||
|
||||
|
||||
public function getHosts()
|
||||
{
|
||||
$sql = <<<SQL
|
||||
|
|
|
@ -169,16 +169,11 @@ SQL;
|
|||
->save();
|
||||
}
|
||||
|
||||
|
||||
public function updateScheduledTime()
|
||||
{
|
||||
$con = Propel::getConnection(CcShowInstancesPeer::DATABASE_NAME);
|
||||
$this->_showInstance->updateDbTimeFilled($con);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public function isDeleted()
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue