strip out docker stuff, put into a plugin

This commit is contained in:
Sam
2013-11-13 17:42:31 +11:00
parent 2610bd0192
commit 8339337cd1
6 changed files with 0 additions and 120 deletions

View File

@@ -1,20 +0,0 @@
# EXPERIMENTAL: front end for upgrading your instance using the web UI
class Admin::UpgradeController < Admin::AdminController
before_filter :ensure_admin
skip_before_filter :check_xhr
layout 'no_js'
def index
require_dependency 'upgrade/git_repo'
@main_repo = Upgrade::GitRepo.new(Rails.root)
end
protected
def ensure_admin
raise Discourse::InvalidAccess.new unless current_user.admin?
end
end