mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 23:13:15 +00:00
Remove baseurl
This commit is contained in:
@@ -35,7 +35,6 @@ class databox_subdef
|
||||
protected $name;
|
||||
protected $path;
|
||||
protected $subdef_group;
|
||||
protected $baseurl;
|
||||
protected $labels = array();
|
||||
protected $write_meta;
|
||||
protected $downloadable;
|
||||
@@ -75,8 +74,6 @@ class databox_subdef
|
||||
$this->downloadable = p4field::isyes($sd->attributes()->downloadable);
|
||||
$this->path = trim($sd->path) !== '' ? p4string::addEndSlash(trim($sd->path)) : '';
|
||||
|
||||
$this->baseurl = trim($sd->baseurl) !== '' ? p4string::addEndSlash(trim($sd->baseurl)) : false;
|
||||
|
||||
$this->write_meta = p4field::isyes((string) $sd->meta);
|
||||
|
||||
foreach ($sd->label as $label) {
|
||||
@@ -137,15 +134,6 @@ class databox_subdef
|
||||
return $this->devices;
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function get_baseurl()
|
||||
{
|
||||
return $this->baseurl;
|
||||
}
|
||||
|
||||
/**
|
||||
* The current SubdefType the subdef converts documents
|
||||
*
|
||||
@@ -363,10 +351,10 @@ class databox_subdef
|
||||
if ($sd->size) {
|
||||
$video->setOptionValue(Video::OPTION_SIZE, (int) $sd->size);
|
||||
}
|
||||
if ($sd->a_codec) {
|
||||
if ($sd->acodec) {
|
||||
$video->setOptionValue(Video::OPTION_ACODEC, (string) $sd->acodec);
|
||||
}
|
||||
if ($sd->v_codec) {
|
||||
if ($sd->vcodec) {
|
||||
$video->setOptionValue(Video::OPTION_VCODEC, (string) $sd->vcodec);
|
||||
}
|
||||
if ($sd->fps) {
|
||||
|
Reference in New Issue
Block a user