@@ -2,7 +2,6 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Gaufrette\Adapter; |
| 4 | 4 | |
| 5 | -use Gaufrette\File; |
|
| 6 | 5 | use Gaufrette\Adapter; |
| 7 | 6 | use Gaufrette\Adapter\InMemory as InMemoryAdapter; |
| 8 | 7 | |
@@ -380,8 +380,7 @@ |
||
| 380 | 380 | $chDirResult = false; |
| 381 | 381 | try { |
| 382 | 382 | $chDirResult = ftp_chdir($this->getConnection(), $directory); |
| 383 | - } |
|
| 384 | - catch(Exception $e) { |
|
| 383 | + } catch(Exception $e) { |
|
| 385 | 384 | $this->passive = true; |
| 386 | 385 | |
| 387 | 386 | // Build the FTP URL that will be used to check if the path is a directory or not |