Project

General

Profile

Actions

Patch #39777

closed

Remove useless method #run_in_request? from db/migrate/20221214173537_add_select_project_publicity_permission.rb

Added by Pavel Rosický 11 months ago. Updated 11 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Code cleanup/refactoring
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

the method doesn't seem to be relevant ( introduced by #38048 )

diff --git a/db/migrate/20221214173537_add_select_project_publicity_permission.rb b/db/migrate/20221214173537_add_select_project_publicity_permission.rb
index aed1b07d1..7a0fee7c8 100644
--- a/db/migrate/20221214173537_add_select_project_publicity_permission.rb
+++ b/db/migrate/20221214173537_add_select_project_publicity_permission.rb
@@ -10,6 +10,4 @@ class AddSelectProjectPublicityPermission < ActiveRecord::Migration[6.1]
       r.remove_permission!(:select_project_publicity)
     end
   end
-
-  def run_in_request?; true end
 end

Related issues

Related to Redmine - Feature #38048: Introduce permission to set a project publicClosedGo MAEDA

Actions
Actions

Also available in: Atom PDF