if preserve_cr is true and the file generated no conflict but is obviously not "empty" we tag it as modified because preserve_cr is the default mode for showing modifications (else the user gets a resolvable conflict and may wonder why ;))

git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10167 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Meik Sievertsen 2009-09-20 16:18:41 +00:00
parent 1b64e41160
commit 7a244e1d2b

View file

@ -1469,6 +1469,13 @@ class install_update extends module
$update_list['up_to_date'][] = $update_ary; $update_list['up_to_date'][] = $update_ary;
return; return;
} }
// If we preserve cr tag it as modified because the conflict would not show in this mode anyway
if ($preserve_cr)
{
$update_list['modified'][] = $update_ary;
return;
}
} }
else else
{ {