]> granicus.if.org Git - php/commitdiff
- Fix domxml_node_unlink_node() proto and return value.
authorMarkus Fischer <mfischer@php.net>
Mon, 7 Jan 2002 00:54:20 +0000 (00:54 +0000)
committerMarkus Fischer <mfischer@php.net>
Mon, 7 Jan 2002 00:54:20 +0000 (00:54 +0000)
ext/domxml/php_domxml.c

index 7081b32be95f337ea63d0a55e1d18664a7c2973d..d3c48a569dfb5049bee9534a95d175cb2e297230 100644 (file)
@@ -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;
 }
 /* }}} */