Removing of useless code
This commit is contained in:
parent
a7ea6ef096
commit
91011b7190
|
@ -55,8 +55,7 @@ function contacts_init(&$a) {
|
||||||
$findpeople_widget .= findpeople_widget();
|
$findpeople_widget .= findpeople_widget();
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($a->argv[2] != "posts")
|
$groups_widget .= group_side('contacts','group','full',0,$contact_id);
|
||||||
$groups_widget .= group_side('contacts','group','full',0,$contact_id);
|
|
||||||
|
|
||||||
$a->page['aside'] .= replace_macros(get_markup_template("contacts-widget-sidebar.tpl"),array(
|
$a->page['aside'] .= replace_macros(get_markup_template("contacts-widget-sidebar.tpl"),array(
|
||||||
'$vcard_widget' => $vcard_widget,
|
'$vcard_widget' => $vcard_widget,
|
||||||
|
|
Loading…
Reference in a new issue