]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/frio/theme.php
Separate Object\Photo into Model\Photo and Object\Image
[friendica.git] / view / theme / frio / theme.php
index 0a6b48e4ebf7ec1a6b2a2256e9f1aee47b5b9a56..8b1713026970604ccd1aad323b92b777bd321626 100644 (file)
@@ -12,7 +12,7 @@ use Friendica\Core\Config;
 use Friendica\Core\PConfig;
 use Friendica\Core\System;
 use Friendica\Database\DBM;
-use Friendica\Object\Photo;
+use Friendica\Object\Image;
 
 $frio = "view/theme/frio";
 
@@ -82,7 +82,7 @@ function frio_uninstall() {
  */
 function frio_item_photo_links(App $a, &$body_info)
 {
-       $phototypes = Photo::supportedTypes();
+       $phototypes = Image::supportedTypes();
        $occurence = 1;
        $p = bb_find_open_close($body_info['html'], "<a", ">");