1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-07 17:27:16 +02:00

[ticket/10411] Add return values to add/delete function

PHPBB3-10411
This commit is contained in:
Joas Schilling
2013-02-25 21:24:52 +01:00
parent 8c6a1e50f5
commit 41eea66da9
5 changed files with 257 additions and 155 deletions

View File

@@ -42,7 +42,7 @@ interface phpbb_groupposition_interface
* Addes a group by group_id
*
* @param int $group_id group_id of the group to be added
* @return null
* @return bool True if the group was added successfully
*/
public function add_group($group_id);
@@ -51,7 +51,7 @@ interface phpbb_groupposition_interface
*
* @param int $group_id group_id of the group to be deleted
* @param bool $skip_group Skip setting the value for this group, to save the query, when you need to update it anyway.
* @return null
* @return bool True if the group was deleted successfully
*/
public function delete_group($group_id, $skip_group = false);