mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 15:03:25 +00:00
fix wrong merge
This commit is contained in:
@@ -323,17 +323,6 @@ class Bridge_Api_Youtube extends Bridge_Api_Abstract implements Bridge_Api_Inter
|
||||
$videoEntry->setVideoPrivate();
|
||||
}
|
||||
|
||||
$videoEntry->setVideoDescription(trim($datas['description']));
|
||||
$videoEntry->setVideoCategory(trim($datas['category']));
|
||||
$videoEntry->setVideoTags(trim($datas['tags']));
|
||||
$videoEntry->setVideoTitle(trim($datas['title']));
|
||||
|
||||
if ($params["privacy"] == "public") {
|
||||
$videoEntry->setVideoPublic();
|
||||
} else {
|
||||
$videoEntry->setVideoPrivate();
|
||||
}
|
||||
|
||||
$this->_api->updateEntry($videoEntry, $videoEntry->getEditLink()->getHref());
|
||||
break;
|
||||
|
||||
|
Reference in New Issue
Block a user