Skip to content
Snippets Groups Projects

ISTWCMS-4799: use wcmsadmi@uwaterloo.ca for the site email

Merged Kevin Paxman requested to merge feature/ISTWCMS-4799-kpaxman-default_site_mail into 8.x-3.x
1 file
+ 2
1
Compare changes
  • Side-by-side
  • Inline
+ 2
1
@@ -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');
Loading