X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Ftheme%2Ffrio%2Ftheme.php;h=8b1713026970604ccd1aad323b92b777bd321626;hb=52bddd580c3f97add2d15f00c01c80acfc73230f;hp=35e40aa96529143c97aa56f70dce78b74a6defb3;hpb=731ec347b15ff4f39b93708a660d58d370dff0c3;p=friendica.git diff --git a/view/theme/frio/theme.php b/view/theme/frio/theme.php index 35e40aa965..8b17130269 100644 --- a/view/theme/frio/theme.php +++ b/view/theme/frio/theme.php @@ -12,6 +12,7 @@ use Friendica\Core\Config; use Friendica\Core\PConfig; use Friendica\Core\System; use Friendica\Database\DBM; +use Friendica\Object\Image; $frio = "view/theme/frio"; @@ -79,10 +80,9 @@ function frio_uninstall() { * @param App $a Unused but required by hook definition * @param array $body_info The item and its html output */ -function frio_item_photo_links(App $a, &$body_info) { - require_once('include/Photo.php'); - - $phototypes = Photo::supportedTypes(); +function frio_item_photo_links(App $a, &$body_info) +{ + $phototypes = Image::supportedTypes(); $occurence = 1; $p = bb_find_open_close($body_info['html'], "");