From d4fa619d49dfda411f8164fb38501ff8f62886f4 Mon Sep 17 00:00:00 2001 From: Markus Fischer Date: Mon, 7 Jan 2002 00:54:20 +0000 Subject: - Fix domxml_node_unlink_node() proto and return value. --- ext/domxml/php_domxml.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'ext/domxml/php_domxml.c') diff --git a/ext/domxml/php_domxml.c b/ext/domxml/php_domxml.c index 7081b32be9..d3c48a569d 100644 --- a/ext/domxml/php_domxml.c +++ b/ext/domxml/php_domxml.c @@ -1587,8 +1587,8 @@ PHP_FUNCTION(domxml_node_children) } /* }}} */ -/* {{{ proto object domxml_node_unlink_node(void) - Deletes node */ +/* {{{ proto void domxml_node_unlink_node([object node]) + Deletes the node */ PHP_FUNCTION(domxml_node_unlink_node) { zval *id; @@ -1599,7 +1599,6 @@ PHP_FUNCTION(domxml_node_unlink_node) xmlUnlinkNode(nodep); xmlFreeNode(nodep); zval_dtor(id); /* This is not enough because the children won't be deleted */ - RETURN_TRUE; } /* }}} */ -- cgit v1.2.1