From abb9f39fa5052b7c3b01ee8b7eb37e776662f888 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Fri, 5 Jun 2015 21:27:53 +0200 Subject: 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 --- application/controllers/user.php | 2 -- 1 file changed, 2 deletions(-) (limited to 'application/controllers/user.php') 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(); -- cgit v1.2.3-24-g4f1b