summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2017-01-06 12:48:48 +0100
committerAndrey Andreev <narf@devilix.net>2017-01-06 12:48:48 +0100
commitcba132d7146785db1ba5fb303b723a95b119d07d (patch)
tree59fe63134aa13a9c48d223bf0ad1ace1fad4eabe /system
parent6a5b5e7a426d4ab0055223011727cd382ec72b43 (diff)
[ci skip] Don't set User-Agent header in CI_Email::clear()
Ref: #4765
Diffstat (limited to 'system')
-rw-r--r--system/libraries/Email.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/system/libraries/Email.php b/system/libraries/Email.php
index a5a707917..117c4845f 100644
--- a/system/libraries/Email.php
+++ b/system/libraries/Email.php
@@ -458,7 +458,6 @@ class CI_Email {
$this->_headers = array();
$this->_debug_msg = array();
- $this->set_header('User-Agent', $this->useragent);
$this->set_header('Date', $this->_set_date());
if ($clear_attachments !== FALSE)