]> git.mxchange.org Git - friendica.git/blobdiff - src/Util/Images.php
formating
[friendica.git] / src / Util / Images.php
index b557d891d88ecdf503ae554d6704fec562b88d6f..e5a4da5b1953304cb75ffe1b296d4d87c580effd 100644 (file)
@@ -2,7 +2,6 @@
 
 namespace Friendica\Util;
 
-use Friendica\Core\Cache;
 use Friendica\Core\Logger;
 use Friendica\Core\System;
 use Friendica\DI;
@@ -125,7 +124,7 @@ class Images
                        return $data;
                }
 
-               $data = Cache::get($url);
+               $data = DI::cache()->get($url);
 
                if (empty($data) || !is_array($data)) {
                        $data = self::getInfoFromURL($url);