aboutsummaryrefslogtreecommitdiff
path: root/setup/default.xml
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2017-07-21 18:41:49 +0500
committerAbyss777 <abyss@fox5.ru>2017-07-21 18:41:49 +0500
commit69c46399ee0f6b3dd2b0589cb412e9e17f040369 (patch)
tree4d838e7c52df78acaae804eaa08911825edc0acd /setup/default.xml
parent55d91ec7a86777bb0427422c15c2b8a60aa00071 (diff)
downloadtrackermap-server-69c46399ee0f6b3dd2b0589cb412e9e17f040369.tar.gz
trackermap-server-69c46399ee0f6b3dd2b0589cb412e9e17f040369.tar.bz2
trackermap-server-69c46399ee0f6b3dd2b0589cb412e9e17f040369.zip
Use classes instead of constants everywhere
Diffstat (limited to 'setup/default.xml')
-rw-r--r--setup/default.xml14
1 files changed, 7 insertions, 7 deletions
diff --git a/setup/default.xml b/setup/default.xml
index dcf995af0..f0f9ef4a3 100644
--- a/setup/default.xml
+++ b/setup/default.xml
@@ -103,11 +103,11 @@
DELETE FROM users WHERE id = :id
</entry>
- <entry key='database.selectDevicePermissions'>
+ <entry key='database.selectUserDevices'>
SELECT userId, deviceId FROM user_device
</entry>
- <entry key='database.selectGroupPermissions'>
+ <entry key='database.selectUserGroups'>
SELECT userId, groupId FROM user_group
</entry>
@@ -230,7 +230,7 @@
DELETE FROM geofences WHERE id = :id
</entry>
- <entry key='database.selectGeofencePermissions'>
+ <entry key='database.selectUserGeofences'>
SELECT userId, geofenceId FROM user_geofence
</entry>
@@ -349,7 +349,7 @@
DELETE FROM calendars WHERE id = :id
</entry>
- <entry key='database.selectCalendarPermissions'>
+ <entry key='database.selectUserCalendars'>
SELECT userId, calendarId FROM user_calendar
</entry>
@@ -361,7 +361,7 @@
DELETE FROM user_calendar WHERE userId = :userId AND calendarId = :calendarId
</entry>
- <entry key='database.selectUserPermissions'>
+ <entry key='database.selectUserUsers'>
SELECT userId, managedUserId FROM user_user
</entry>
@@ -395,7 +395,7 @@
DELETE FROM attributes WHERE id = :id
</entry>
- <entry key='database.selectAttributePermissions'>
+ <entry key='database.selectUserAttributes'>
SELECT userId, attributeId FROM user_attribute
</entry>
@@ -452,7 +452,7 @@
DELETE FROM drivers WHERE id = :id
</entry>
- <entry key='database.selectDriverPermissions'>
+ <entry key='database.selectUserDrivers'>
SELECT userId, driverId FROM user_driver
</entry>