summaryrefslogtreecommitdiff
path: root/app/Template
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-03-27 15:32:29 -0400
committerFrederic Guillot <fred@kanboard.net>2016-03-27 15:32:29 -0400
commitf11fccd0d78ab037e77cd973a9168eedcb609fc2 (patch)
treeb98b3e8fb4b7c6a5161503877b81fb4ca1237eeb /app/Template
parent9ba44a01dbb187f4c931e1ba838e2bad258d34f4 (diff)
Fix bad unique constraints in Mysql table user_has_notifications
Diffstat (limited to 'app/Template')
-rw-r--r--app/Template/user/notifications.php3
1 files changed, 0 insertions, 3 deletions
diff --git a/app/Template/user/notifications.php b/app/Template/user/notifications.php
index 2a5c8152..6e1a0004 100644
--- a/app/Template/user/notifications.php
+++ b/app/Template/user/notifications.php
@@ -3,11 +3,8 @@
</div>
<form method="post" action="<?= $this->url->href('user', 'notifications', array('user_id' => $user['id'])) ?>" autocomplete="off">
-
<?= $this->form->csrf() ?>
- <?= $this->form->checkbox('notifications_enabled', t('Enable notifications'), '1', $notifications['notifications_enabled'] == 1) ?><br>
- <hr>
<h4><?= t('Notification methods:') ?></h4>
<?= $this->form->checkboxes('notification_types', $types, $notifications) ?>