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
Merge "Localisation updates from http://translatewiki.net."
[lhc/web/wiklou.git]
/
includes
/
WikiPage.php
diff --git
a/includes/WikiPage.php
b/includes/WikiPage.php
index
fffd5f6
..
b5318c0
100644
(file)
--- a/
includes/WikiPage.php
+++ b/
includes/WikiPage.php
@@
-530,11
+530,7
@@
class WikiPage extends Page {
}
wfProfileOut( __METHOD__ );
- if ( $row ) {
- return Revision::newFromRow( $row );
- } else {
- return null;
- }
+ return $row ? Revision::newFromRow( $row ) : null;
}
/**