require_once('include/group.php');
-function contactgroup_content(&$a) {
+function contactgroup_content(App &$a) {
- if(! local_user()) {
+ if (! local_user()) {
killme();
}
intval($a->argv[2]),
intval(local_user())
);
- if(dbm::is_result($r))
+ if (dbm::is_result($r))
$change = intval($a->argv[2]);
}
intval($a->argv[1]),
intval(local_user())
);
- if(! count($r)) {
+ if (! dbm::is_result($r)) {
killme();
}