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:
62ebd86
)
WikiPage::getDeletionUpdates returns DeferrableUpdates
author
addshore
<addshorewiki@gmail.com>
Tue, 20 Sep 2016 12:09:09 +0000
(13:09 +0100)
committer
addshore
<addshorewiki@gmail.com>
Tue, 20 Sep 2016 12:09:09 +0000
(13:09 +0100)
This means the hook also only needs to add
DeferrableUpdate object rather than DataUpdate objects
Change-Id: Ic19c93860aa364d4e1b69a20ed6bbcd61f6f4979
includes/page/WikiPage.php
patch
|
blob
|
history
diff --git
a/includes/page/WikiPage.php
b/includes/page/WikiPage.php
index
2308ef0
..
fe0fffc
100644
(file)
--- a/
includes/page/WikiPage.php
+++ b/
includes/page/WikiPage.php
@@
-3735,7
+3735,7
@@
class WikiPage implements Page, IDBAccessObject {
*
* @param Content|null $content Optional Content object for determining the
* necessary updates.
- * @return D
ata
Update[]
+ * @return D
eferrable
Update[]
*/
public function getDeletionUpdates( Content $content = null ) {
if ( !$content ) {