MDLSITE-2179 add db/messages.php + fix wrong provider naming