Skip to content
This repository has been archived by the owner on Feb 4, 2022. It is now read-only.

Commit

Permalink
Honor the email.mention default pref for new users
Browse files Browse the repository at this point in the history
This resolves esotalk#386 where despite email.mention config being set,
new users were not getting that preference set to true.
  • Loading branch information
jgknight committed Nov 24, 2014
1 parent a35a89d commit f3b5411
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/models/ETMemberModel.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public function create(&$values)

// Set default preferences.
if (empty($values["preferences"])) {
$preferences = array("email.privateAdd", "email.post", "starOnReply");
$preferences = array("email.privateAdd", "email.post", "starOnReply", "email.mention");
foreach ($preferences as $p) {
$values["preferences"][$p] = C("esoTalk.preferences.".$p);
}
Expand Down

0 comments on commit f3b5411

Please sign in to comment.