Use new Model methods for groups

This commit is contained in:
Hypolite Petovan
2017-12-09 13:45:17 -05:00
parent fe89e7760e
commit abdecd2b2f
17 changed files with 65 additions and 63 deletions
+2 -1
View File
@@ -5,6 +5,7 @@
use Friendica\App;
use Friendica\Database\DBM;
use Friendica\Model\Contact;
use Friendica\Model\Group;
require_once 'include/contact_selectors.php';
@@ -21,7 +22,7 @@ function nogroup_init(App $a)
$a->page['aside'] = '';
}
$a->page['aside'] .= group_side('contacts', 'group', 'extended', 0, $contact_id);
$a->page['aside'] .= Group::sidebarWidget('contacts', 'group', 'extended');
}
function nogroup_content(App $a)