dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc71cac
)
fix replaceSection(): return null for content models that don't support sections
author
daniel
<daniel.kinzler@wikimedia.de>
Mon, 23 Apr 2012 17:13:39 +0000
(19:13 +0200)
committer
daniel
<daniel.kinzler@wikimedia.de>
Mon, 23 Apr 2012 17:13:39 +0000
(19:13 +0200)
includes/Content.php
patch
|
blob
|
history
diff --git
a/includes/Content.php
b/includes/Content.php
index
e3b26a6
..
793e62b
100644
(file)
--- a/
includes/Content.php
+++ b/
includes/Content.php
@@
-298,7
+298,7
@@
abstract class Content {
* @return string Complete article text, or null if error
*/
public function replaceSection( $section, Content $with, $sectionTitle = '' ) {
- return
$this
;
+ return
null
;
}
/**