Changeset 84302 in spip-zone for _plugins_/aspirateur


Ignore:
Timestamp:
Aug 23, 2014, 3:25:15 PM (6 years ago)
Author:
toutati@…
Message:

fns inutiles

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/aspirateur/inc/aspirer_curl.php

    r84301 r84302  
    113113}
    114114
    115 function deleteNode($node) {
    116     deleteChildren($node);
    117     $parent = $node->parentNode;
    118     $oldnode = $parent->removeChild($node);
    119 }
    120 
    121 function deleteChildren($node) {
    122     while (isset($node->firstChild)) {
    123         deleteChildren($node->firstChild);
    124         $node->removeChild($node->firstChild);
    125     }
    126 }
    127 
    128115
    129116/**
Note: See TracChangeset for help on using the changeset viewer.