Fix minor issues

This commit is contained in:
Frederic Guillot
2015-10-11 12:27:00 -04:00
parent ee4464912d
commit 48a2cfc741
2 changed files with 2 additions and 4 deletions

View File

@@ -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();
}
/**