From 59ab76ef5e3d9eb95b4e8ad7b8d21473e5915bb5 Mon Sep 17 00:00:00 2001 From: nathangray Date: Thu, 28 Feb 2019 15:22:50 -0700 Subject: [PATCH] Use correct class --- api/src/Storage/History.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/src/Storage/History.php b/api/src/Storage/History.php index cfae21c5a5..b50f3ae4cf 100644 --- a/api/src/Storage/History.php +++ b/api/src/Storage/History.php @@ -266,8 +266,8 @@ class History )) { // 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']))); - $renderer = new \Text_Diff_Renderer_unified(); + $diff = new \Horde_Text_Diff('auto', array(explode("\n",$row['history_old_value']), explode("\n",$row['history_new_value']))); + $renderer = new \Horde_Text_Diff_Renderer_Unified(); $row['history_new_value'] = $renderer->render($diff); $row['history_old_value'] = Tracking::DIFF_MARKER; }