Commit 4462f745 authored by Kevin Paxman's avatar Kevin Paxman Committed by Eric Bremner
Browse files

ISTWCMS-4799: code standards

parent 3ceb2f0c
......@@ -53,7 +53,8 @@ function uw_base_profile_conditional_installs() {
if ($config->get('mail') == 'admin@example.com') {
$config->set('mail', 'wcmsadmi@uwaterloo.ca')->save();
}
// Enforce wcmsadmi@uwaterloo.ca as the wcmsadmin user email if the default was used.
// Enforce wcmsadmi@uwaterloo.ca as the wcmsadmin user email if the default
// was used.
$user = user_load_by_name('wcmsadmin');
if ($user && $user->getEmail() == 'admin@example.com') {
$user->setEmail('wcmsadmi@uwaterloo.ca');
......
Supports Markdown
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