Esempio n. 1
0
 /**
  * Removes the provided row from the database.
  *
  * @since 1.21
  *
  * @param IORMRow $row
  * @param string|null $functionName
  *
  * @return boolean Success indicator
  */
 public function removeRow(IORMRow $row, $functionName = null)
 {
     $success = $this->delete(array('id' => $row->getId()), is_null($functionName) ? __METHOD__ : $functionName);
     // DatabaseBase::delete does not always return true for success as documented...
     return $success !== false;
 }