Remove check for hasMessage, closes #482
This commit is contained in:
@@ -93,14 +93,4 @@ class Incident extends Model implements TransformableInterface, PresenterInterfa
|
||||
{
|
||||
return new IncidentTransformer();
|
||||
}
|
||||
|
||||
/**
|
||||
* Check if Incident has message.
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function hasMessage()
|
||||
{
|
||||
return (trim($this->message) !== '');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user