Commit 3d6a17d3 authored by Robert Lyon's avatar Robert Lyon
Browse files

Behat: allow setting of site skin to also set it for mahara institution



Change-Id: Id77b1366df664696d85250d001058e7f0b0540b8
Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
parent 16a2f730
......@@ -118,6 +118,9 @@ class BehatAdmin extends BehatBase {
throw new SystemException("Can not set the option \"$setting\" to \"$settings[$setting]\"");
}
}
if (isset($settings['skins'])) {
set_config_institution('mahara', 'skins', (bool)$settings['skins']);
}
if (isset($settings['lang']) && $oldlanguage != $settings['lang']) {
safe_require('artefact', 'file');
ArtefactTypeFolder::change_public_folder_name($oldlanguage, $settings['lang']);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment