aboutsummaryrefslogtreecommitdiff
path: root/setup/default.xml
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2017-01-16 16:27:51 +0500
committerAbyss777 <abyss@fox5.ru>2017-01-16 16:34:31 +0500
commit8a19ed9994e6bdd531faa3021711fc0e89497ca8 (patch)
treefa53e0b262be74b3bf4dd429219a4e20236493c9 /setup/default.xml
parentb5eb48cbba215ca55c1a5e5ae5fae5b375243247 (diff)
downloadtrackermap-server-8a19ed9994e6bdd531faa3021711fc0e89497ca8.tar.gz
trackermap-server-8a19ed9994e6bdd531faa3021711fc0e89497ca8.tar.bz2
trackermap-server-8a19ed9994e6bdd531faa3021711fc0e89497ca8.zip
- Rename otherUserId to managedUserId
- Optimize getManaged* functions
Diffstat (limited to 'setup/default.xml')
-rw-r--r--setup/default.xml6
1 files changed, 3 insertions, 3 deletions
diff --git a/setup/default.xml b/setup/default.xml
index eab11e10e..0ab3163f0 100644
--- a/setup/default.xml
+++ b/setup/default.xml
@@ -353,15 +353,15 @@
</entry>
<entry key='database.selectUserPermissions'>
- SELECT userId, otherUserId FROM user_user
+ SELECT userId, managedUserId FROM user_user
</entry>
<entry key='database.linkUser'>
- INSERT INTO user_user (userId, otherUserId) VALUES (:userId, :otherUserId)
+ INSERT INTO user_user (userId, managedUserId) VALUES (:userId, :managedUserId)
</entry>
<entry key='database.unlinkUser'>
- DELETE FROM user_user WHERE userId = :userId AND otherUserId = :otherUserId
+ DELETE FROM user_user WHERE userId = :userId AND managedUserId = :managedUserId
</entry>
<!-- PROTOCOL CONFIG -->