From: Markus Fischer Date: Fri, 14 Dec 2001 20:48:29 +0000 (+0000) Subject: - Remove redundant code. X-Git-Tag: PRE_ISSET_PATCH~549 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=022bef6ca75f58da9f10b5c66b63b1eb9f989998;p=php - Remove redundant code. --- diff --git a/ext/domxml/php_domxml.c b/ext/domxml/php_domxml.c index 3a6612b485..b9aea158b7 100644 --- a/ext/domxml/php_domxml.c +++ b/ext/domxml/php_domxml.c @@ -1579,18 +1579,14 @@ PHP_FUNCTION(domxml_node_children) } /* }}} */ -/* {{{ proto object domxml_node_unlink_node(void) +/* {{{ proto object domxml_node_nlink_node(void) Deletes node */ PHP_FUNCTION(domxml_node_unlink_node) { zval *id; xmlNode *nodep; - DOMXML_NO_ARGS(); - - DOMXML_GET_THIS_OBJ(nodep, id, le_domxmlnodep); - - DOMXML_NO_ARGS(); + DOMXML_PARAM_NONE(nodep, id, le_domxmlnodep); xmlUnlinkNode(nodep); xmlFreeNode(nodep);