]> git.mxchange.org Git - friendica.git/blobdiff - src/Contact/Avatar.php
New option to disable the fetching of parents
[friendica.git] / src / Contact / Avatar.php
index f43ed7b8c7931b2351113174f267f4a99be6fac3..1dd2f9cee66c5c8203553771e99a4917eb310208 100644 (file)
@@ -263,7 +263,7 @@ class Avatar
        {
                $localFile = self::getCacheFile($avatar);
                if (!empty($localFile)) {
-                       unlink($localFile);
+                       @unlink($localFile);
                        Logger::debug('Unlink avatar', ['avatar' => $avatar]);
                }
        }