-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This addresses some bugs found during testing. This adds a check to `SmtpAccount::getConfig()` that ensures we have an email and MailboxAccount before attempting to call `getConfig()` and adds descriptive comments. This also removes the `isActive()` check from the SmtpAccount `save()` method as we only care about if it's currently set to active. Lastly, this changes the variable name for the email address from `$email` to `$addr` so it doesn't conflict with the original `$email` variable.
- Loading branch information
Showing
2 changed files
with
17 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters