Skip to content

Commit 20ffbfc

Browse files
committed
Revert previous commit.
1 parent bb8e05b commit 20ffbfc

2 files changed

Lines changed: 3 additions & 9 deletions

File tree

lib/Constant/Opt.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,6 @@ final class Opt
3232
const EMAIL_SYNC = "opt.email_sync";
3333
const HOME_LOCATION = "opt.home_location";
3434
const HOME_MODE = "opt.home_mode";
35-
const MODIFY_GROUP = "opt.modify_group";
36-
const MODIFY_USER = "opt.modify_user";
37-
const MODIFY_USER_GROUP = "opt.modify_user_group";
3835
const NAME_CHANGE = "opt.name_change";
3936
const PASSWORD_CHANGE = "opt.password_change";
4037
const USE_CACHE = "opt.use_cache";

templates/admin.php

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -139,8 +139,7 @@ function print_select_options(
139139
<h2><?php p($l->t("User table")); ?></h2>
140140
<p class="settings-hint"><?php p($l->t("Table containing user accounts.")); ?></p>
141141
<fieldset><?php
142-
print_text_input($l, "db-table-user", "Table name", $_["db.table.user"]);
143-
print_checkbox_input($l, "opt-modify_user", "Allow DML statements on table", $_["opt.modify_user"]); ?>
142+
print_text_input($l, "db-table-user", "Table name", $_["db.table.user"]); ?>
144143
<h3><?php p($l->t("Columns")); ?></h3>
145144
<?php
146145
print_text_input($l, "db-table-user-column-uid", "Username", $_["db.table.user.column.uid"]);
@@ -157,8 +156,7 @@ function print_select_options(
157156
<h2><?php p($l->t("Group table")); ?></h2>
158157
<p class="settings-hint"><?php p($l->t("Group definitions table.")); ?></p>
159158
<fieldset><?php
160-
print_text_input($l, "db-table-group", "Table name", $_["db.table.group"]);
161-
print_checkbox_input($l, "opt-modify_group", "Allow DML statements on table", $_["opt.modify_group"]); ?>
159+
print_text_input($l, "db-table-group", "Table name", $_["db.table.group"]); ?>
162160
<h3><?php p($l->t("Columns")); ?></h3>
163161
<?php
164162
print_text_input($l, "db-table-group-column-admin", "Is admin", $_["db.table.group.column.admin"]);
@@ -170,8 +168,7 @@ function print_select_options(
170168
<h2><?php p($l->t("User group table")); ?></h2>
171169
<p class="settings-hint"><?php p($l->t("Associative table which maps users to groups.")); ?></p>
172170
<fieldset><?php
173-
print_text_input($l, "db-table-user_group", "Table name", $_["db.table.user_group"]);
174-
print_checkbox_input($l, "opt-modify_user_group", "Allow DML statements on table", $_["opt.modify_user_group"]); ?>
171+
print_text_input($l, "db-table-user_group", "Table name", $_["db.table.user_group"]); ?>
175172
<h3><?php p($l->t("Columns")); ?></h3>
176173
<?php
177174
print_text_input($l, "db-table-user_group-column-uid", "Username", $_["db.table.user_group.column.uid"]);

0 commit comments

Comments
 (0)