syntax warnings found in development mode
Change-Id: I95ad530f8a1d30834d25d4df7898e813f231ddcb Reviewed-on: https://gerrit.instructure.com/2839 Tested-by: Hudson <hudson@instructure.com> Reviewed-by: Jon Jensen <jon@instructure.com>
This commit is contained in:
parent
5a6b048430
commit
ae720184c0
|
@ -221,6 +221,7 @@ class Enrollment < ActiveRecord::Base
|
|||
end
|
||||
|
||||
def rank_sortable(student_first=false)
|
||||
type = self.class.to_s
|
||||
case type
|
||||
when 'StudentEnrollment'
|
||||
student_first ? 0 : 4
|
||||
|
|
|
@ -32,7 +32,7 @@ module Canvas::AccountReports
|
|||
end
|
||||
|
||||
def self.for_account(id)
|
||||
(AvailableReports.reports['default'] || {}).merge (AvailableReports.reports[id] || {})
|
||||
(AvailableReports.reports['default'] || {}).merge(AvailableReports.reports[id] || {})
|
||||
end
|
||||
|
||||
def self.generate_report(account_report)
|
||||
|
|
Loading…
Reference in New Issue