Assignees optimizations #47

Merged
konrad merged 10 commits from enhancement/assignees-performance into master 2019-01-08 19:13:07 +00:00
1 changed files with 0 additions and 2 deletions
Showing only changes of commit 954d6b1170 - Show all commits

View File

@ -18,7 +18,6 @@ package models
import (
"code.vikunja.io/web"
"fmt"
)
// ListTaskAssginee represents an assignment of a user to a task
@ -172,7 +171,6 @@ func (la *ListTaskAssginee) Create(a web.Auth) (err error) {
func (t *ListTask) addNewAssigneeByID(newAssigneeID int64, list *List) (err error) {
// Check if the user exists and has access to the list
fmt.Println("getuserbyid")
newAssignee, err := GetUserByID(newAssigneeID)
if err != nil {
return err