public function deleteMessage($key = null) {
		if (empty($key)) {
			return false;
		}

		$sessionKey = $this->_sessionKey . '.' . $key;
		if (!CakeSession::check($sessionKey)) {
			return false;
		}

		return CakeSession::delete($sessionKey);
	}
public function deleteMessage($key = null) {
		if (empty($key)) {
			return false;
		}

		$sessionKey = $this->_sessionKey . '.' . $key;
		if (!CakeSession::check($sessionKey)) {
			return false;
		}

		return CakeSession::delete($sessionKey);
	}
public function deleteMessage ( $ key = null ) { if ( empty ( $ key ) ) { return false ; } $ sessionKey = $ this -> _sessionKey . '.' . $ key ; if ( ! CakeSession :: check ( $ sessionKey ) ) { return false ; } return CakeSession :: delete ( $ sessionKey ) ; }
Delete Flash messages.

@param string $key Key of Flash messages
to delete
@return bool Success.
Delete Flash messages .