From: Markus Fischer Date: Mon, 7 Jan 2002 00:54:20 +0000 (+0000) Subject: - Fix domxml_node_unlink_node() proto and return value. X-Git-Tag: PRE_ISSET_PATCH~262 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d4fa619d49dfda411f8164fb38501ff8f62886f4;p=php - Fix domxml_node_unlink_node() proto and return value. --- 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; } /* }}} */