Logic simplification
git-svn-id: http://redmine.rubyforge.org/svn/branches/work@1211 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user