Removed unused function.
Removed commented out code. Renamed fillNewLinkedInstances to fillLinkedInstances. Streamline show instance content if a show goes from unlinked to linked.
This commit is contained in:
parent
11de8bd988
commit
6249deb1ac
4 changed files with 53 additions and 52 deletions
|
@ -295,24 +295,6 @@ class CcShow extends BaseCcShow {
|
|||
}
|
||||
return $instanceIds;
|
||||
}
|
||||
|
||||
/*
|
||||
* Returns all show instances ordered by 'starts' column in desc order.
|
||||
*/
|
||||
public function getInstanceIdsSortedByMostRecentStartTime()
|
||||
{
|
||||
$instances = CcShowInstancesQuery::create()
|
||||
->filterByCcShow($this)
|
||||
->filterByDbModifiedInstance(false)
|
||||
->orderByDbStarts(Criteria::DESC)
|
||||
->find();
|
||||
|
||||
$instanceIdsDescOrder = array();
|
||||
foreach ($instances as $instance) {
|
||||
$instanceIdsDescOrder[] = $instance->getDbId();
|
||||
}
|
||||
return $instanceIdsDescOrder;
|
||||
}
|
||||
|
||||
//what is this??
|
||||
public function getOtherInstances($instanceId)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue