Skip to content

Commit 04178b9

Browse files
committed
Remove last of unused gdocs functionality
1 parent af5a0d2 commit 04178b9

2 files changed

Lines changed: 0 additions & 10 deletions

File tree

app/controllers/points_controller.rb

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,6 @@ def index
4747
end
4848
end
4949

50-
def refresh_gdocs
51-
authorize! :refresh, @course
52-
@sheetname = params[:id]
53-
@course = Course.find(params[:course_id])
54-
@notifications = @course.refresh_gdocs_worksheet @sheetname
55-
end
56-
5750
def show
5851
@sheetname = params[:id]
5952
@course = Course.find(params[:course_id])

app/models/ability.rb

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,6 @@ def initialize(user)
2020
can :disable, Organization
2121

2222
can :rerun, Submission
23-
can :refresh_gdocs_spreadsheet, Course do |c|
24-
c.spreadsheet_key.present?
25-
end
2623
can :access, :pghero
2724
can :read_vm_log, Submission
2825
can :read, :instance_state

0 commit comments

Comments
 (0)