]> git.mxchange.org Git - friendica.git/commitdiff
Update src/Model/Storage/Filesystem.php
authorPhilipp <admin+Github@philipp.info>
Sun, 15 Aug 2021 11:55:09 +0000 (13:55 +0200)
committerPhilipp <admin@philipp.info>
Mon, 16 Aug 2021 21:27:42 +0000 (23:27 +0200)
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
src/Model/Storage/Filesystem.php

index 2d6a3520159a75e4834158be4d04e1e7fae8780a..c6c939bd464353154eab1193916cdd2c79ecb1d9 100644 (file)
@@ -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));
                }