aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/nestedset/interface.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2013-04-19 16:19:01 +0200
committerJoas Schilling <nickvergessen@gmx.de>2013-04-19 16:19:01 +0200
commit3d54a81ed9394f13aff4c40d524ed7cff0546604 (patch)
treebf6adfb29876f86769560c624aa3f4bcad28f7ea /phpBB/includes/nestedset/interface.php
parentd24ff2329fe145864712cb37ec19183bd4e21a42 (diff)
downloadforums-3d54a81ed9394f13aff4c40d524ed7cff0546604.tar
forums-3d54a81ed9394f13aff4c40d524ed7cff0546604.tar.gz
forums-3d54a81ed9394f13aff4c40d524ed7cff0546604.tar.bz2
forums-3d54a81ed9394f13aff4c40d524ed7cff0546604.tar.xz
forums-3d54a81ed9394f13aff4c40d524ed7cff0546604.zip
[ticket/11495] Use item_id only as parameter for delete() and remove()
The data is acquired again anyway PHPBB3-11495
Diffstat (limited to 'phpBB/includes/nestedset/interface.php')
-rw-r--r--phpBB/includes/nestedset/interface.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/phpBB/includes/nestedset/interface.php b/phpBB/includes/nestedset/interface.php
index c632c09dbf..1a6b09f975 100644
--- a/phpBB/includes/nestedset/interface.php
+++ b/phpBB/includes/nestedset/interface.php
@@ -38,20 +38,20 @@ interface phpbb_nestedset_interface
*
* Also removes all subitems from the nested set
*
- * @param array $item The item to be removed
- * @return array Items that have been removed
+ * @param int $item_id The item to be deleted
+ * @return array Item ids that have been removed
*/
- public function remove(array $item);
+ public function remove($item);
/**
* Delete an item from the nested set (also deletes the rows form the table)
*
* Also deletes all subitems from the nested set
*
- * @param array $item The item to be deleted
- * @return array Items that have been deleted
+ * @param int $item_id The item to be deleted
+ * @return array Item ids that have been deleted
*/
- public function delete(array $item);
+ public function delete($item);
/**
* Move an item by a given delta