1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-03 09:49:28 +02:00
Oinktube/install/changeUnlistedToUnlistedSearchable.php
2023-02-09 16:48:56 -03:00

11 lines
386 B
PHP

<?php
//streamer config
require_once '../videos/configuration.php';
require_once $global['systemRootPath'] . 'objects/video.php';
if (!isCommandLineInterface()) {
return die('Command Line only');
}
ob_end_flush();
$sql = "UPDATE videos SET status = ? WHERE status = ? ";
sqlDAL::writeSql($sql, 'ss', array(Video::$statusUnlistedButSearchable, Video::$statusUnlisted));