mirror of
https://github.com/meineerde/redmine.git
synced 2026-03-11 19:53:07 +00:00
Logic simplification
git-svn-id: http://redmine.rubyforge.org/svn/branches/work@1211 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
12c5881ef0
commit
78d70c12b6
@ -208,9 +208,7 @@ module Redmine
|
||||
|
||||
def diff(path, identifier_from, identifier_to=nil, type="inline")
|
||||
path ||= ''
|
||||
if identifier_to
|
||||
identifier_to = identifier_to
|
||||
else
|
||||
if !identifier_to
|
||||
identifier_to = nil
|
||||
end
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user