mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-12 04:36:32 +02:00
stupid me forgot to add a function for backwards compatibility :/
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9505 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@ -516,6 +516,7 @@ class diff3 extends diff
|
|||||||
$label_end = array('>>>>>>> ' . $label2);
|
$label_end = array('>>>>>>> ' . $label2);
|
||||||
|
|
||||||
$lines = array_merge($lines, $label_start, $edit->final1, $label_mid, $edit->final2, $label_end);
|
$lines = array_merge($lines, $label_start, $edit->final1, $label_mid, $edit->final2, $label_end);
|
||||||
|
$this->_conflicting_blocks++;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@ -526,6 +527,16 @@ class diff3 extends diff
|
|||||||
return $lines;
|
return $lines;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Return merged output (used by the renderer)
|
||||||
|
*
|
||||||
|
* @return mixed the merged output
|
||||||
|
*/
|
||||||
|
function merged_output()
|
||||||
|
{
|
||||||
|
return $this->get_conflicts_content();
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Merge the output and use the new file code for conflicts
|
* Merge the output and use the new file code for conflicts
|
||||||
*/
|
*/
|
||||||
|
Reference in New Issue
Block a user