Changed hard-coded 'mdl_' table prefix for the more portable ->prefix config variable.