summaryrefslogtreecommitdiffstats
path: root/dozentenmodulserver/src/main/java/org
diff options
context:
space:
mode:
authorJonathan Bauer2015-08-25 18:12:35 +0200
committerJonathan Bauer2015-08-25 18:12:35 +0200
commitfc5ef41ec6b41b7d1f1416817c6035fa25341ba9 (patch)
treefb6c6568fa31e4704a56547dfb8548bcce45ba4a /dozentenmodulserver/src/main/java/org
parent[client] reworked image base deletion from ImageListWindow (diff)
parent[server] Fix setLectureOwner call (swapped params) (diff)
downloadtutor-module-fc5ef41ec6b41b7d1f1416817c6035fa25341ba9.tar.gz
tutor-module-fc5ef41ec6b41b7d1f1416817c6035fa25341ba9.tar.xz
tutor-module-fc5ef41ec6b41b7d1f1416817c6035fa25341ba9.zip
Merge branch 'v1.1' of git.openslx.org:openslx-ng/tutor-module into v1.1
Diffstat (limited to 'dozentenmodulserver/src/main/java/org')
-rw-r--r--dozentenmodulserver/src/main/java/org/openslx/bwlp/sat/thrift/ServerHandler.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/dozentenmodulserver/src/main/java/org/openslx/bwlp/sat/thrift/ServerHandler.java b/dozentenmodulserver/src/main/java/org/openslx/bwlp/sat/thrift/ServerHandler.java
index 994466dd..d2fe1b44 100644
--- a/dozentenmodulserver/src/main/java/org/openslx/bwlp/sat/thrift/ServerHandler.java
+++ b/dozentenmodulserver/src/main/java/org/openslx/bwlp/sat/thrift/ServerHandler.java
@@ -485,7 +485,7 @@ public class ServerHandler implements SatelliteServer.Iface {
UserInfo user = SessionManager.getOrFail(userToken);
User.canChangeLectureOwnerOrFail(user, lectureId);
try {
- DbLecture.setOwner(user, newOwnerId, lectureId);
+ DbLecture.setOwner(user, lectureId, newOwnerId);
} catch (SQLException e) {
throw new TInternalServerError();
}