Update src/Model/Storage/Filesystem.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
This commit is contained in:
parent
f4941b5b49
commit
1df6225868
1 changed files with 0 additions and 1 deletions
|
@ -127,7 +127,6 @@ class Filesystem implements IWritableStorage
|
|||
|
||||
$result = file_get_contents($file);
|
||||
|
||||
// just in case the result is REALLY false, not zero or empty or anything else, throw the exception
|
||||
if ($result === false) {
|
||||
throw new StorageException(sprintf('Filesystem storage failed to get data to "%s". Check your write permissions', $file));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue