original_string: 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;
      }
code: 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;
      }
code_tokens: 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 ; }
docstring: 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
docstring_tokens: Deletes one metadata value or all metadata values .