Use new Model methods for groups
This commit is contained in:
parent
fe89e7760e
commit
abdecd2b2f
17 changed files with 65 additions and 63 deletions
|
|
@ -8,6 +8,7 @@ use Friendica\Core\Worker;
|
|||
use Friendica\Database\DBM;
|
||||
use Friendica\Model\Contact;
|
||||
use Friendica\Model\GContact;
|
||||
use Friendica\Model\Group;
|
||||
use Friendica\Network\Probe;
|
||||
|
||||
require_once 'include/contact_selectors.php';
|
||||
|
|
@ -77,7 +78,7 @@ function contacts_init(App $a) {
|
|||
$findpeople_widget .= findpeople_widget();
|
||||
}
|
||||
|
||||
$groups_widget .= group_side('contacts','group','full',0,$contact_id);
|
||||
$groups_widget .= Group::sidebarWidget('contacts','group','full',0,$contact_id);
|
||||
|
||||
$a->page['aside'] .= replace_macros(get_markup_template("contacts-widget-sidebar.tpl"),array(
|
||||
'$vcard_widget' => $vcard_widget,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue