mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-16 14:33:14 +00:00
Remove dead code
This commit is contained in:
@@ -12,7 +12,7 @@ class ftpclient
|
||||
{
|
||||
$host = mb_substr($host, -1, 1) == '/' ? mb_substr($host, 0, (mb_strlen($host) - 1)) : $host;
|
||||
|
||||
if (($p = mb_strpos($host, 'ftp://')) !== false)
|
||||
if (mb_strpos($host, 'ftp://') !== false)
|
||||
$host = mb_substr($host, 6);
|
||||
|
||||
$host = $proxy ? $proxy : $host;
|
||||
|
Reference in New Issue
Block a user