refactor: We don't need this check anymore

This commit is contained in:
Pierre Rudloff 2019-04-21 21:36:14 +02:00
parent 61cb73dc59
commit 3ca84e144e

View file

@ -370,11 +370,10 @@ class Video
'pipe:1',
]
);
if ($this->url != '-') {
//Vimeo needs a correct user-agent
$arguments[] = '-user_agent';
$arguments[] = $this->getProp('dump-user-agent');
}
//Vimeo needs a correct user-agent
$arguments[] = '-user_agent';
$arguments[] = $this->getProp('dump-user-agent');
return new Process($arguments);
}