summaryrefslogtreecommitdiffstats
path: root/system/libraries
diff options
context:
space:
mode:
Diffstat (limited to 'system/libraries')
-rw-r--r--system/libraries/Email.php7
1 files changed, 1 insertions, 6 deletions
diff --git a/system/libraries/Email.php b/system/libraries/Email.php
index 1f2f6a991..63b7dc31c 100644
--- a/system/libraries/Email.php
+++ b/system/libraries/Email.php
@@ -2234,14 +2234,9 @@ class CI_Email {
*/
protected function _mime_types($ext = '')
{
- static $mimes;
-
$ext = strtolower($ext);
- if ( ! is_array($mimes))
- {
- $mimes =& get_mimes();
- }
+ $mimes =& get_mimes();
if (isset($mimes[$ext]))
{