summaryrefslogtreecommitdiff
path: root/modules/comment/comment.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/comment/comment.module')
-rw-r--r--modules/comment/comment.module4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/comment/comment.module b/modules/comment/comment.module
index 0633d623d..cbaad8d4c 100644
--- a/modules/comment/comment.module
+++ b/modules/comment/comment.module
@@ -749,7 +749,7 @@ function comment_save($edit) {
// the part of the thread value at the proper depth.
// Get the parent comment:
- $parent = _comment_load($edit['pid']);
+ $parent = comment_load($edit['pid']);
// Strip the "/" from the end of the parent thread.
$parent->thread = (string) rtrim((string) $parent->thread, '/');
@@ -1121,7 +1121,7 @@ function comment_operations($action = NULL) {
* @return
* The comment object.
*/
-function _comment_load($cid) {
+function comment_load($cid) {
return db_fetch_object(db_query('SELECT * FROM {comments} WHERE cid = %d', $cid));
}