Skip to content

Commit

Permalink
Merge pull request #18153 from d-m-u/fixing_hardcoded_admin_in_retire…
Browse files Browse the repository at this point in the history
…ment_mixin

This shouldn't be hardcoded, thanks Keenan...
  • Loading branch information
kbrock authored Oct 31, 2018
2 parents b1bc6c0 + 504df5a commit 89adf41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/mixins/retirement_mixin.rb
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ def system_context_requester
User.find(evm_owner_id)
else
$log.info("System context defaulting to admin user because owner of #{name} not set.")
User.in_my_region.find_by(:userid => 'admin')
User.super_admin
end
end

Expand Down

0 comments on commit 89adf41

Please sign in to comment.