mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 09:49:28 +02:00
Update
This commit is contained in:
parent
2ba95dcb68
commit
635d73b343
1 changed files with 11 additions and 11 deletions
|
@ -1906,17 +1906,17 @@ Click <a href=\"{link}\">here</a> to join our live.";
|
|||
if (!empty($row['finished'])) {
|
||||
LiveTransmitionHistory::unfinishFromTransmitionHistoryId($row['id']);
|
||||
}else{
|
||||
/*
|
||||
$row = LiveTransmition::keyExists($_POST['name']);
|
||||
if(!empty($row)){
|
||||
$lth = new LiveTransmitionHistory();
|
||||
$lth->setTitle($obj->row['title']);
|
||||
$lth->setDescription($obj->row['description']);
|
||||
$lth->setKey($_POST['name']);
|
||||
$lth->setDomain(@$_REQUEST['domain']);
|
||||
$lth->setUsers_id($user->getBdId());
|
||||
$lth->setLive_servers_id($live_servers_id);
|
||||
_error_log("NGINX ON Publish saving LiveTransmitionHistory");
|
||||
$obj->liveTransmitionHistory_id = $lth->save();
|
||||
*/
|
||||
$lth->setTitle($row['title']);
|
||||
$lth->setDescription($row['description']);
|
||||
$lth->setKey($live['key']);
|
||||
$lth->setUsers_id($row['users_id']);
|
||||
$lth->setLive_servers_id($live['live_servers_id']);
|
||||
$id = $lth->save();
|
||||
_error_log("unfinishAllFromStats saving LiveTransmitionHistory [{$id}]");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue