diff options
Diffstat (limited to 'app/Model/Notification.php')
-rw-r--r-- | app/Model/Notification.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Model/Notification.php b/app/Model/Notification.php index dbd60a2f..525e7f13 100644 --- a/app/Model/Notification.php +++ b/app/Model/Notification.php @@ -113,7 +113,7 @@ class Notification extends Base */ public function saveSettings($user_id, array $values) { - // $this->db->startTransaction(); + $this->db->startTransaction(); if (isset($values['notifications_enabled']) && $values['notifications_enabled'] == 1) { $this->enableNotification($user_id); @@ -130,7 +130,7 @@ class Notification extends Base $this->disableNotification($user_id); } - // $this->db->closeTransaction(); + $this->db->closeTransaction(); } /** |