summaryrefslogtreecommitdiffstats
path: root/system/libraries/Email.php
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2017-12-27 18:49:03 +0100
committerGitHub <noreply@github.com>2017-12-27 18:49:03 +0100
commit3b470a6934a030c4bc57ac4c070539b5dd3e13b9 (patch)
tree5cca7a57a296006e09773b553a8159cc37316445 /system/libraries/Email.php
parentfbae310a44e5d6fb3f962d148c80a60cd38c884a (diff)
parent7774e3846c525ff65c6d9b86aacb1cc3bc229e3e (diff)
Merge pull request #5367 from carusogabriel/clean-elses
Clean elses
Diffstat (limited to 'system/libraries/Email.php')
-rw-r--r--system/libraries/Email.php12
1 files changed, 4 insertions, 8 deletions
diff --git a/system/libraries/Email.php b/system/libraries/Email.php
index f115d9f40..6d192a6e2 100644
--- a/system/libraries/Email.php
+++ b/system/libraries/Email.php
@@ -941,10 +941,8 @@ class CI_Email {
{
return 'plain-attach';
}
- else
- {
- return 'plain';
- }
+
+ return 'plain';
}
// --------------------------------------------------------------------
@@ -2209,10 +2207,8 @@ class CI_Email {
usleep(250000);
continue;
}
- else
- {
- $timestamp = 0;
- }
+
+ $timestamp = 0;
}
if ($result === FALSE)