lib/katello/tasks/delete_orphaned_content.rake in katello-1.5.0 vs lib/katello/tasks/delete_orphaned_content.rake in katello-2.2.2

- old
+ new

@@ -1,7 +1,7 @@ namespace :katello do task :delete_orphaned_content => ["environment"] do - User.current = User.hidden.first + User.current = User.anonymous_admin Katello::Repository.delete_orphaned_content puts _("Orphaned content deletion started in background.") end end