public function recover($id, $user = TRUE)
	{
		$recover = array(
			'deleted_at' => NULL,
		);

		if ($user) {
			$recover['deleted_by'] = NULL;
		}

		$this->rawGet($id)->update($recover);

		return $this->get($id);
	}
public function recover($id, $user = TRUE)
	{
		$recover = array(
			'deleted_at' => NULL,
		);

		if ($user) {
			$recover['deleted_by'] = NULL;
		}

		$this->rawGet($id)->update($recover);

		return $this->get($id);
	}
public function recover ( $ id , $ user = TRUE ) { $ recover = array ( 'deleted_at' => NULL , ) ; if ( $ user ) { $ recover [ 'deleted_by' ] = NULL ; } $ this -> rawGet ( $ id ) -> update ( $ recover ) ; return $ this -> get ( $ id ) ; }
Undo soft delete

@param $id int
@param boolean $user

@return \Nette\Database\Table\IRow
Undo soft delete