public function deleteMessage($key) {
		if(isset($this->msg[$key])) {
			unset($this->msg[$key]);
		}
		if(!$this->msg) {
			$this->deleteFile();
		}
	}
public function deleteMessage($key) {
		if(isset($this->msg[$key])) {
			unset($this->msg[$key]);
		}
		if(!$this->msg) {
			$this->deleteFile();
		}
	}
public function deleteMessage ( $ key ) { if ( isset ( $ this -> msg [ $ key ] ) ) { unset ( $ this -> msg [ $ key ] ) ; } if ( ! $ this -> msg ) { $ this -> deleteFile ( ) ; } }
Sets the message
@var $key Remove a message for key
Sets the message