diff options
author | Marius Balteanu <marius.balteanu@zitec.com> | 2024-01-23 01:05:38 +0000 |
---|---|---|
committer | Marius Balteanu <marius.balteanu@zitec.com> | 2024-01-23 01:05:38 +0000 |
commit | c51766498511654c41a77523b4b4ae53a1a05b04 (patch) | |
tree | 9f5363c688de37479659e61204a01eb7719ae037 /app/controllers | |
parent | 6ea1fd551de8156ec7713759e4b1f264cf99adb2 (diff) | |
download | redmine-c51766498511654c41a77523b4b4ae53a1a05b04.tar.gz redmine-c51766498511654c41a77523b4b4ae53a1a05b04.zip |
Reverts r22438 (#35189).
git-svn-id: https://svn.redmine.org/redmine/trunk@22616 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers')
-rw-r--r-- | app/controllers/projects_controller.rb | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/app/controllers/projects_controller.rb b/app/controllers/projects_controller.rb index 1faeee46c..15e9120f8 100644 --- a/app/controllers/projects_controller.rb +++ b/app/controllers/projects_controller.rb @@ -263,14 +263,11 @@ class ProjectsController < ApplicationController end def bookmark - user = User.current - jump_box = Redmine::ProjectJumpBox.new user + jump_box = Redmine::ProjectJumpBox.new User.current if request.delete? jump_box.delete_project_bookmark @project - user.update_notified_bookmarked_project_ids(@project) elsif request.post? jump_box.bookmark_project @project - user.update_notified_bookmarked_project_ids(@project) end respond_to do |format| format.js |