Skip to content
Snippets Groups Projects
Commit 4462f745 authored by Kevin Paxman's avatar Kevin Paxman Committed by Eric Bremner
Browse files

ISTWCMS-4799: code standards

parent 3ceb2f0c
No related branches found
No related tags found
2 merge requests!433ISTWCMS-6296 Create test for all event dates test cases,!144ISTWCMS-4799: use wcmsadmi@uwaterloo.ca for the site email
This commit is part of merge request !144. Comments created here will be created in the context of that merge request.
......@@ -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');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment