classes/phing/tasks/ext/property/Variable.php
private function removeProperty($name)
    {
        $properties = null;
        try {
            $properties = $this->getPropValue($this->getProject(), 'properties');
            if ($properties !== null) {
                unset($properties[$name]);
                $this->setPropValue($properties, $this->getProject(), 'properties');
            }
        } catch (Exception $e) {
        }
        try {
            $properties = $this->getPropValue($this->getProject(), 'userProperties');
            if ($properties !== null) {
                unset($properties[$name]);
                $this->setPropValue($properties, $this->getProject(), 'userProperties');
            }
        } catch (Exception $e) {
        }
    }
private function removeProperty($name)
    {
        $properties = null;
        try {
            $properties = $this->getPropValue($this->getProject(), 'properties');
            if ($properties !== null) {
                unset($properties[$name]);
                $this->setPropValue($properties, $this->getProject(), 'properties');
            }
        } catch (Exception $e) {
        }
        try {
            $properties = $this->getPropValue($this->getProject(), 'userProperties');
            if ($properties !== null) {
                unset($properties[$name]);
                $this->setPropValue($properties, $this->getProject(), 'userProperties');
            }
        } catch (Exception $e) {
        }
    }
private function removeProperty ( $ name ) { $ properties = null ; try { $ properties = $ this -> getPropValue ( $ this -> getProject ( ) , 'properties' ) ; if ( $ properties !== null ) { unset ( $ properties [ $ name ] ) ; $ this -> setPropValue ( $ properties , $ this -> getProject ( ) , 'properties' ) ; } } catch ( Exception $ e ) { } try { $ properties = $ this -> getPropValue ( $ this -> getProject ( ) , 'userProperties' ) ; if ( $ properties !== null ) { unset ( $ properties [ $ name ] ) ; $ this -> setPropValue ( $ properties , $ this -> getProject ( ) , 'userProperties' ) ; } } catch ( Exception $ e ) { } }
Remove a property from the project's property table and the userProperty table.
Note that Ant 1.6 uses a helper for this.
Remove a property from the project s property table and the userProperty table . Note that Ant 1 . 6 uses a helper for this .