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
replace wfGetDB (discouraged for use) with Maintenance::getDB in dumps scripts
[lhc/web/wiklou.git]
/
maintenance
/
populateBacklinkNamespace.php
diff --git
a/maintenance/populateBacklinkNamespace.php
b/maintenance/populateBacklinkNamespace.php
index
e2fd8b5
..
ac52721
100644
(file)
--- a/
maintenance/populateBacklinkNamespace.php
+++ b/
maintenance/populateBacklinkNamespace.php
@@
-44,8
+44,6
@@
class PopulateBacklinkNamespace extends LoggedUpdateMaintenance {
}
public function doDBUpdates() {
- $force = $this->getOption( 'force' );
-
$db = $this->getDB( DB_MASTER );
$this->output( "Updating *_from_namespace fields in links tables.\n" );