summaryrefslogtreecommitdiffstats
path: root/application/controllers
diff options
context:
space:
mode:
Diffstat (limited to 'application/controllers')
-rw-r--r--application/controllers/user.php9
1 files changed, 1 insertions, 8 deletions
diff --git a/application/controllers/user.php b/application/controllers/user.php
index b542f2b4c..be4359404 100644
--- a/application/controllers/user.php
+++ b/application/controllers/user.php
@@ -340,14 +340,7 @@ class User extends MY_Controller {
))
->insert('actions');
- $admininfo = $this->db->select('email')
- ->from('users')
- ->where('referrer', NULL)
- ->order_by('id', 'asc')
- ->limit(1)
- ->get()->row_array();
-
- $this->email->from($admininfo["email"]);
+ $this->email->from($this->config->item("email_from"));
$this->email->to($userinfo["email"]);
$this->email->subject("FileBin password reset");
$this->email->message(""