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 "Generalizing LinksUpdate to allow extensions to add arbitrary update handlers."
[lhc/web/wiklou.git]
/
includes
/
api
/
ApiPurge.php
diff --git
a/includes/api/ApiPurge.php
b/includes/api/ApiPurge.php
index
b803fd4
..
8ef9cbc
100644
(file)
--- a/
includes/api/ApiPurge.php
+++ b/
includes/api/ApiPurge.php
@@
-94,8
+94,8
@@
class ApiPurge extends ApiBase {
true, true, $page->getLatest() );
# Update the links tables
- $u
= new LinksUpdate( $title, $p_result
);
-
$u->doUpdate(
);
+ $u
pdates = $p_result->getSecondaryDataUpdates( $title
);
+
DataUpdate::runUpdates( $updates
);
$r['linkupdate'] = '';