Remove setting task bucket to 0

This commit is contained in:
kolaente 2020-05-03 21:24:28 +02:00
parent 23950c0602
commit f0ac6e89be
Signed by untrusted user: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 0 additions and 5 deletions

View File

@ -706,11 +706,6 @@ func (t *Task) Update() (err error) {
if t.PercentDone == 0 {
ot.PercentDone = 0
}
// Bucket ID
// Yes it is possible to move a task back into the empty bucket
if t.BucketID == 0 {
ot.BucketID = 0
}
// Position
if t.Position == 0 {
ot.Position = 0