public function deleteMetadata($name = false)
    {
        if ($name === false) {
            $this->metadata = array();
            return true;
        }
        if (!isset($this->metadata[$name])) {
            return false;
        }
        unset($this->metadata[$name]);
        return true;
    }
public function deleteMetadata($name = false)
    {
        if ($name === false) {
            $this->metadata = array();
            return true;
        }
        if (!isset($this->metadata[$name])) {
            return false;
        }
        unset($this->metadata[$name]);
        return true;
    }
public function deleteMetadata ( $ name = false ) { if ( $ name === false ) { $ this -> metadata = array ( ) ; return true ; } if ( ! isset ( $ this -> metadata [ $ name ] ) ) { return false ; } unset ( $ this -> metadata [ $ name ] ) ; return true ; }
Deletes one metadata value or all metadata values.

@param bool|string $name Metadata name (omit to delete entire metadata).
@return bool `true` on success, `false` if the column didn't exist
Deletes one metadata value or all metadata values .