summaryrefslogtreecommitdiffstats
path: root/system/libraries/Email.php
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2017-12-27 18:49:03 +0100
committerAndrey Andreev <narf@devilix.net>2017-12-27 18:50:15 +0100
commitfbe4d79ca0a70f404dce628d66deeaa3d90a2225 (patch)
tree4626010d3821b8c0c3e10676ea88dfda953ad47e /system/libraries/Email.php
parent20d9b0a9c03955da0010a3df91adcd9b8e6e7d58 (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 948cdb5c2..8fefcbab9 100644
--- a/system/libraries/Email.php
+++ b/system/libraries/Email.php
@@ -961,10 +961,8 @@ class CI_Email {
{
return 'plain-attach';
}
- else
- {
- return 'plain';
- }
+
+ return 'plain';
}
// --------------------------------------------------------------------
@@ -2267,10 +2265,8 @@ class CI_Email {
usleep(250000);
continue;
}
- else
- {
- $timestamp = 0;
- }
+
+ $timestamp = 0;
}
if ($result === FALSE)