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
Test improperly quoted attribute values in HTML tags and table cells
[lhc/web/wiklou.git]
/
includes
/
HistoryBlob.php
diff --git
a/includes/HistoryBlob.php
b/includes/HistoryBlob.php
index
05c27fe
..
55c2ae5
100644
(file)
--- a/
includes/HistoryBlob.php
+++ b/
includes/HistoryBlob.php
@@
-232,8
+232,6
@@
class HistoryBlobStub {
* @return string
*/
function getText() {
* @return string
*/
function getText() {
- $fname = 'HistoryBlobStub::getText';
-
if( isset( self::$blobCache[$this->mOldId] ) ) {
$obj = self::$blobCache[$this->mOldId];
} else {
if( isset( self::$blobCache[$this->mOldId] ) ) {
$obj = self::$blobCache[$this->mOldId];
} else {
@@
-244,10
+242,9
@@
class HistoryBlobStub {
}
$flags = explode( ',', $row->old_flags );
if( in_array( 'external', $flags ) ) {
}
$flags = explode( ',', $row->old_flags );
if( in_array( 'external', $flags ) ) {
- $url
=
$row->old_text;
+ $url
=
$row->old_text;
$parts = explode( '://', $url, 2 );
if ( !isset( $parts[1] ) || $parts[1] == '' ) {
$parts = explode( '://', $url, 2 );
if ( !isset( $parts[1] ) || $parts[1] == '' ) {
- wfProfileOut( $fname );
return false;
}
$row->old_text = ExternalStore::fetchFromUrl($url);
return false;
}
$row->old_text = ExternalStore::fetchFromUrl($url);