]> git.mxchange.org Git - friendica.git/blobdiff - mod/directory.php
Add database doc about the new oembed.maxwidth field
[friendica.git] / mod / directory.php
index 4ce919b08bd40ae46ff8e5dd7143ab0fc70f706b..f29e3eb69ba8e057fa375a71d25a3e42de83276d 100644 (file)
@@ -3,7 +3,7 @@
 use Friendica\App;
 use Friendica\Core\Config;
 use Friendica\Database\DBM;
-use Friendica\Object\Contact;
+use Friendica\Model\Contact;
 
 function directory_init(App $a) {
        $a->set_pager_itemspage(60);
@@ -143,12 +143,7 @@ function directory_content(App $a) {
 
                        $about = ((x($profile,'about') == 1) ?  t('About:') : False);
 
-                       if($a->theme['template_engine'] === 'internal') {
-                               $location_e = template_escape($location);
-                       }
-                       else {
-                               $location_e = $location;
-                       }
+                       $location_e = $location;
 
                        $photo_menu = array(
                                'profile' => array(t("View Profile"), zrl($profile_link))