dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Follow-up 7960d53: Mark when the SecondaryDataUpdates and WikiPageDeletionUpdates...
[lhc/web/wiklou.git]
/
includes
/
historyblob
/
DiffHistoryBlob.php
diff --git
a/includes/historyblob/DiffHistoryBlob.php
b/includes/historyblob/DiffHistoryBlob.php
index
8d92fe5
..
5173916
100644
(file)
--- a/
includes/historyblob/DiffHistoryBlob.php
+++ b/
includes/historyblob/DiffHistoryBlob.php
@@
-155,14
+155,13
@@
class DiffHistoryBlob implements HistoryBlob {
$seqName = 'main';
}
}
$seqName = 'main';
}
}
- $seq =& $sequences[$seqName];
- $tail = $seq['tail'];
+
+ $tail = $seq
uences[$seqName]
['tail'];
$diff = $this->diff( $tail, $text );
$diff = $this->diff( $tail, $text );
- $seq['diffs'][] = $diff;
- $seq['map'][] = $i;
- $seq['tail'] = $text;
+ $seq
uences[$seqName]
['diffs'][] = $diff;
+ $seq
uences[$seqName]
['map'][] = $i;
+ $seq
uences[$seqName]
['tail'] = $text;
}
}
- unset( $seq ); // unlink dangerous alias
// Knit the sequences together
$tail = '';
// Knit the sequences together
$tail = '';
@@
-333,7
+332,7
@@
class DiffHistoryBlob implements HistoryBlob {
// addItem() doesn't work if mItems is partially filled from mDiffs
$this->mFrozen = true;
$info = unserialize( gzinflate( $this->mCompressed ) );
// addItem() doesn't work if mItems is partially filled from mDiffs
$this->mFrozen = true;
$info = unserialize( gzinflate( $this->mCompressed ) );
-
unset( $this->mCompressed )
;
+
$this->mCompressed = null
;
if ( !$info ) {
// Empty object
if ( !$info ) {
// Empty object