aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2013-04-26 08:42:44 +0200
committerJoas Schilling <nickvergessen@gmx.de>2013-04-26 08:42:44 +0200
commit2afa6730232cc2e92ae6543852d031a29c8a361f (patch)
treefa05d3d78609b8f13eb0b0ae5b89830a95df2c69 /phpBB/includes
parenta9f02d1efa0fc5210a0c113a3cf832b1d1f856ab (diff)
downloadforums-2afa6730232cc2e92ae6543852d031a29c8a361f.tar
forums-2afa6730232cc2e92ae6543852d031a29c8a361f.tar.gz
forums-2afa6730232cc2e92ae6543852d031a29c8a361f.tar.bz2
forums-2afa6730232cc2e92ae6543852d031a29c8a361f.tar.xz
forums-2afa6730232cc2e92ae6543852d031a29c8a361f.zip
[ticket/11495] Fix doc blocks once more
PHPBB3-11495
Diffstat (limited to 'phpBB/includes')
-rw-r--r--phpBB/includes/tree/interface.php6
-rw-r--r--phpBB/includes/tree/nestedset.php6
2 files changed, 6 insertions, 6 deletions
diff --git a/phpBB/includes/tree/interface.php b/phpBB/includes/tree/interface.php
index 4e22e322f3..ed0ccca3f1 100644
--- a/phpBB/includes/tree/interface.php
+++ b/phpBB/includes/tree/interface.php
@@ -18,7 +18,7 @@ if (!defined('IN_PHPBB'))
interface phpbb_tree_interface
{
/**
- * Insert an item into the tree (also insert the rows into the table)
+ * Inserts an item into the database table and into the tree.
*
* @param array $item The item to be added
* @return array Array with item data as set in the database
@@ -26,9 +26,9 @@ interface phpbb_tree_interface
public function insert(array $additional_data);
/**
- * Delete an item from the tree (also deletes the rows form the table)
+ * Delete an item from the tree and from the database table
*
- * Also deletes all subitems from the tree
+ * Also deletes all subitems from the tree and from the database table
*
* @param int $item_id The item to be deleted
* @return array Item ids that have been deleted
diff --git a/phpBB/includes/tree/nestedset.php b/phpBB/includes/tree/nestedset.php
index ab6a9d6bb4..9655a08aa5 100644
--- a/phpBB/includes/tree/nestedset.php
+++ b/phpBB/includes/tree/nestedset.php
@@ -115,7 +115,7 @@ abstract class phpbb_tree_nestedset implements phpbb_tree_interface
}
/**
- * Add an existing item at the end of the tree
+ * Add an item which already has a database row at the end of the tree
*
* @param array $item The item to be added
* @return bool True if the item was added
@@ -145,9 +145,9 @@ abstract class phpbb_tree_nestedset implements phpbb_tree_interface
}
/**
- * Remove an item from the tree WITHOUT removing the items from the table
+ * Remove an item from the tree without deleting it from the database
*
- * Also removes all subitems from the tree
+ * Also removes all subitems from the tree without deleting them from the database either
*
* @param int $item_id The item to be deleted
* @return array Item ids that have been removed