CC-1665: Scheduled stream rebroadcasting and recording
-change behaviour so that the webstream is not saved as soon as it it created.
This commit is contained in:
parent
24988616b3
commit
c8c257a330
2 changed files with 22 additions and 11 deletions
|
@ -7,9 +7,11 @@ class Application_Model_Webstream implements Application_Model_LibraryEditable
|
|||
public function __construct($webstream)
|
||||
{
|
||||
//TODO: hacky...
|
||||
Logging::info("x ".$webstream);
|
||||
if (is_int($webstream)) {
|
||||
$this->webstream = CcWebstreamQuery::create()->findPK($webstream);
|
||||
if (is_null($this->webstream)) {
|
||||
throw new Exception();
|
||||
}
|
||||
} else {
|
||||
$this->webstream = $webstream;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue