]> git.mxchange.org Git - friendica.git/blobdiff - mod/viewcontacts.php
Merge pull request #1165 from annando/1409-issue-1157
[friendica.git] / mod / viewcontacts.php
index f54a76be4c08f3abd8d64d8ed4939a935fc6cb26..8e261e71151d1e23e706ceabd89026779caa45c7 100644 (file)
@@ -72,13 +72,7 @@ function viewcontacts_content(&$a) {
 
 
        $tpl = get_markup_template("viewcontact_template.tpl");
-
-       $includes = array(
-               '$contact_template' => 'contact_template.tpl',
-       );
-       $includes = set_template_includes($a->theme['template_engine'], $includes);
-
-       $o .= replace_macros($tpl, $includes + array(
+       $o .= replace_macros($tpl, array(
                '$title' => t('View Contacts'),
                '$contacts' => $contacts,
                '$paginate' => paginate($a),