use Exception;
use Friendica\Content\OEmbed;
use Friendica\Content\Smilies;
-use Friendica\Core\Cache;
use Friendica\Core\Config;
use Friendica\Core\Hook;
use Friendica\Core\L10n;
private static function removePictureLinksCallback($match)
{
$cache_key = 'remove:' . $match[1];
- $text = Cache::get($cache_key);
+ $text = DI::cache()->get($cache_key);
if (is_null($text)) {
$a = DI::app();
}
$cache_key = 'clean:' . $match[1];
- $text = Cache::get($cache_key);
+ $text = DI::cache()->get($cache_key);
if (!is_null($text)) {
return $text;
}