summaryrefslogtreecommitdiff
path: root/content_history_inc.php
diff options
context:
space:
mode:
authorspiderr <spider@viovio.com>2011-07-17 16:59:11 -0400
committerspiderr <spider@viovio.com>2011-07-17 16:59:11 -0400
commit4a383e0b37e9067b30ce75a9b359c8027a77555e (patch)
tree0ccf94c6c85d697d809868b7348aa989aa9a57fc /content_history_inc.php
parentc239cbf2f2a8391dae61ce2563378fcb3fc97f73 (diff)
downloadliberty-4a383e0b37e9067b30ce75a9b359c8027a77555e.tar.gz
liberty-4a383e0b37e9067b30ce75a9b359c8027a77555e.tar.bz2
liberty-4a383e0b37e9067b30ce75a9b359c8027a77555e.zip
remove deprecated & assignment
Diffstat (limited to 'content_history_inc.php')
-rw-r--r--content_history_inc.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/content_history_inc.php b/content_history_inc.php
index f3ce1ba..f866ae8 100644
--- a/content_history_inc.php
+++ b/content_history_inc.php
@@ -51,8 +51,8 @@ if( isset( $_REQUEST["delete"] ) && isset( $_REQUEST["hist"] )) {
*/
if( $gBitSystem->isFeatureActive( 'liberty_inline_diff' ) && @include_once( 'Text/Diff.php' )) {
include_once( 'Text/Diff/Renderer/inline.php' );
- $diff = &new Text_Diff( $from_lines, $to_lines );
- $renderer = &new Text_Diff_Renderer_inline();
+ $diff = new Text_Diff( $from_lines, $to_lines );
+ $renderer = new Text_Diff_Renderer_inline();
$html = $renderer->render( $diff );
} else {
include_once( UTIL_PKG_PATH.'diff.php');