1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-03 09:49:28 +02:00

Log video save action with external options in error log

This commit is contained in:
Daniel Neto 2025-08-28 12:01:58 -03:00
parent 22daa452fd
commit 61f89b7848

View file

@ -710,7 +710,7 @@ if (!class_exists('Video')) {
*/
//var_dump($this->title, $insert_row);exit;
if ($insert_row) {
_error_log("Video::save ([{$this->sites_id}] {$this->title}) Saved id = {$insert_row} status=([{$this->status}]) {$this->duration} " . json_encode(debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS)));
_error_log("Video::save ([{$this->sites_id}] {$this->title}) Saved id = {$insert_row} status=([{$this->status}]) duration={$this->duration} externalOptions={$this->externalOptions}" . json_encode(debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS)));
//Category::clearCacheCount();
if (empty($this->id)) {
$this->id = $insert_row;