Use correct class

This commit is contained in:
nathangray 2019-02-28 15:22:50 -07:00
parent b7934f699c
commit 59ab76ef5e

View File

@ -266,8 +266,8 @@ class History
)) ))
{ {
// Larger text stored with full old / new value - calculate diff and just send that // Larger text stored with full old / new value - calculate diff and just send that
$diff = new \Text_Diff('auto', array(explode("\n",$row['history_old_value']), explode("\n",$row['history_new_value']))); $diff = new \Horde_Text_Diff('auto', array(explode("\n",$row['history_old_value']), explode("\n",$row['history_new_value'])));
$renderer = new \Text_Diff_Renderer_unified(); $renderer = new \Horde_Text_Diff_Renderer_Unified();
$row['history_new_value'] = $renderer->render($diff); $row['history_new_value'] = $renderer->render($diff);
$row['history_old_value'] = Tracking::DIFF_MARKER; $row['history_old_value'] = Tracking::DIFF_MARKER;
} }