diff options
author | Markus Fischer <mfischer@php.net> | 2001-12-14 20:48:29 +0000 |
---|---|---|
committer | Markus Fischer <mfischer@php.net> | 2001-12-14 20:48:29 +0000 |
commit | 022bef6ca75f58da9f10b5c66b63b1eb9f989998 (patch) | |
tree | 2716eee18ef477757c59f0986f00ee5076c2c5e4 /ext/domxml/php_domxml.c | |
parent | a98c093d449218766618800cb14643ac69ed634e (diff) | |
download | php-git-022bef6ca75f58da9f10b5c66b63b1eb9f989998.tar.gz |
- Remove redundant code.
Diffstat (limited to 'ext/domxml/php_domxml.c')
-rw-r--r-- | ext/domxml/php_domxml.c | 8 |
1 files changed, 2 insertions, 6 deletions
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); |