remove unused line of code

Change-Id: Ib6c2e588055d5d1bbb6978036fd25ac20c54e218
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/265348
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Drake Harper <drake.harper@instructure.com>
QA-Review: Drake Harper <drake.harper@instructure.com>
Product-Review: Drake Harper <drake.harper@instructure.com>
This commit is contained in:
Rob Orton 2021-05-19 23:44:50 -06:00
parent 0456374b91
commit 99154a59d9
1 changed files with 0 additions and 1 deletions

View File

@ -365,7 +365,6 @@ class NotificationMessageCreator
end_partition = Message.infer_partition_table_name('created_at' => end_time)
if first_partition == start_partition &&
start_partition == end_partition
Message.infer_partition_table_name('created_at' => end_time)
scope = scope.where(created_at: start_time..end_time)
break_this_loop = true
elsif start_time == first_start_time