]> git.mxchange.org Git - friendica.git/blobdiff - src/Model/Storage/Filesystem.php
Insert a `user-contact` for every contact
[friendica.git] / src / Model / Storage / Filesystem.php
index fe5230049f8d18f4af16625c35b17ff01ba6fc55..c6c939bd464353154eab1193916cdd2c79ecb1d9 100644 (file)
@@ -36,7 +36,7 @@ use Friendica\Util\Strings;
  * Each new resource gets a value as reference and is saved in a
  * folder tree stucture created from that value.
  */
-class Filesystem implements ISelectableStorage
+class Filesystem implements IWritableStorage
 {
        const NAME = 'Filesystem';
 
@@ -127,7 +127,6 @@ class Filesystem implements ISelectableStorage
 
                $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));
                }