protected function addMessage($strMessage, $strType) { @trigger_error('Using System::addMessage() has been deprecated and will no longer work in Contao 5.0. Use Message::add() instead.', E_USER_DEPRECATED); \Message::add($strMessage, $strType); }