summaryrefslogtreecommitdiffstats
path: root/application
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2015-06-05 21:27:53 +0200
committerFlorian Pritz <bluewind@xinu.at>2015-06-05 21:27:53 +0200
commitabb9f39fa5052b7c3b01ee8b7eb37e776662f888 (patch)
treeb95e8b155008a2c335c26cf7e25353867e25c3e7 /application
parentc5edcea7ad85ce93682ef20d5f47a093a5512163 (diff)
Keep email reset keys after use
The user might click the wrong link or might change their mind and it is really not necessary to clean them up early. Let the cron job take care of that. Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application')
-rw-r--r--application/controllers/user.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/application/controllers/user.php b/application/controllers/user.php
index e9c24ee6b..b432cba5e 100644
--- a/application/controllers/user.php
+++ b/application/controllers/user.php
@@ -401,8 +401,6 @@ class User extends MY_Controller {
break;
}
- $this->db->where('key', $key)
- ->delete('actions');
$this->data["alerts"] = $alerts;
return $this->profile();