1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-03 09:49:28 +02:00
This commit is contained in:
Daniel Neto 2024-03-21 18:57:38 -03:00
parent 2ba95dcb68
commit 635d73b343

View file

@ -1906,17 +1906,17 @@ Click <a href=\"{link}\">here</a> to join our live.";
if (!empty($row['finished'])) { if (!empty($row['finished'])) {
LiveTransmitionHistory::unfinishFromTransmitionHistoryId($row['id']); LiveTransmitionHistory::unfinishFromTransmitionHistoryId($row['id']);
}else{ }else{
/* $row = LiveTransmition::keyExists($_POST['name']);
if(!empty($row)){
$lth = new LiveTransmitionHistory(); $lth = new LiveTransmitionHistory();
$lth->setTitle($obj->row['title']); $lth->setTitle($row['title']);
$lth->setDescription($obj->row['description']); $lth->setDescription($row['description']);
$lth->setKey($_POST['name']); $lth->setKey($live['key']);
$lth->setDomain(@$_REQUEST['domain']); $lth->setUsers_id($row['users_id']);
$lth->setUsers_id($user->getBdId()); $lth->setLive_servers_id($live['live_servers_id']);
$lth->setLive_servers_id($live_servers_id); $id = $lth->save();
_error_log("NGINX ON Publish saving LiveTransmitionHistory"); _error_log("unfinishAllFromStats saving LiveTransmitionHistory [{$id}]");
$obj->liveTransmitionHistory_id = $lth->save(); }
*/
} }
} }
} }