Implement parts of the list API:
lists/statuses lists/destroy lists/update lists/create lists/ownerships
This commit is contained in:
@@ -54,6 +54,19 @@ class Group extends BaseObject
|
||||
return $return;
|
||||
}
|
||||
|
||||
/**
|
||||
* Update group information.
|
||||
*
|
||||
* @param int $id Group ID
|
||||
* @param string $name Group name
|
||||
*
|
||||
* @return bool Was the update successful?
|
||||
*/
|
||||
public static function update($id, $name)
|
||||
{
|
||||
return dba::update('group', ['name' => $name], ['id' => $id]);
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Get a list of group ids a contact belongs to
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user