Revert "Merge branch 'ryerson-history'"

This reverts commit a554c6f72c, reversing
changes made to 2a0c9769aa.
This commit is contained in:
Naomi Aro 2013-09-23 11:00:43 +02:00
parent a554c6f72c
commit c8b73850b9
200 changed files with 5491 additions and 41784 deletions

View file

@ -1,9 +1,11 @@
<?php
/**
* Skeleton subclass for representing a row from the 'cc_subjs' table.
*
*
*
*
* You should add additional methods to this class to meet the
* application requirements. This class will only be generated as
@ -25,15 +27,4 @@ class CcSubjs extends BaseCcSubjs {
->filterByDbHost($this->getDbId())
->count() > 0;
}
public function isHostOfShowInstance($instanceId)
{
$showInstance = CcShowInstancesQuery::create()
->findPk($instanceId);
return CcShowHostsQuery::create()
->filterByDbShow($showInstance->getDbShowId())
->filterByDbHost($this->getDbId())
->count() > 0;
}
} // CcSubjs