Skip to content

Commit

Permalink
Merge pull request #17569 from skateman/timezone-public
Browse files Browse the repository at this point in the history
Make user_timezone method for MiqReportResult public
  • Loading branch information
bdunne authored Jun 12, 2018
2 parents 2252542 + 6542037 commit ac2377a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions app/models/miq_report_result.rb
Original file line number Diff line number Diff line change
Expand Up @@ -349,8 +349,6 @@ def self.display_name(number = 1)
n_('Report Result', 'Report Results', number)
end

private

def user_timezone
user = userid.include?("|") ? nil : User.find_by_userid(userid)
user ? user.get_timezone : MiqServer.my_server.server_timezone
Expand Down

0 comments on commit ac2377a

Please sign in to comment.