]> git.mxchange.org Git - friendica.git/blobdiff - include/items.php
Vier: Some more transition effects
[friendica.git] / include / items.php
index b7be27932f6a1c215b136356bdf8977b63cdec66..29f4d7256feb548d292539b68490233102964fdf 100755 (executable)
@@ -3644,9 +3644,13 @@ function atom_entry($item,$type,$author,$owner,$comment = false,$cid = 0) {
 }
 
 function fix_private_photos($s, $uid, $item = null, $cid = 0) {
+
+       if(get_config('system','disable_embedded'))
+               return $s;
+
        $a = get_app();
 
-       logger('fix_private_photos', LOGGER_DEBUG);
+       logger('fix_private_photos: check for photos', LOGGER_DEBUG);
        $site = substr($a->get_baseurl(),strpos($a->get_baseurl(),'://'));
 
        $orig_body = $s;