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
Remove "$that" from SessionManager
[lhc/web/wiklou.git]
/
maintenance
/
fixExtLinksProtocolRelative.php
diff --git
a/maintenance/fixExtLinksProtocolRelative.php
b/maintenance/fixExtLinksProtocolRelative.php
index
0c60e62
..
d04e0c2
100644
(file)
--- a/
maintenance/fixExtLinksProtocolRelative.php
+++ b/
maintenance/fixExtLinksProtocolRelative.php
@@
-34,8
+34,8
@@
require_once __DIR__ . '/Maintenance.php';
class FixExtLinksProtocolRelative extends LoggedUpdateMaintenance {
public function __construct() {
parent::__construct();
class FixExtLinksProtocolRelative extends LoggedUpdateMaintenance {
public function __construct() {
parent::__construct();
- $this->
mDescription =
-
"Fixes any entries in the externallinks table containing protocol-relative URLs"
;
+ $this->
addDescription(
+
'Fixes any entries in the externallinks table containing protocol-relative URLs' )
;
}
protected function getUpdateKey() {
}
protected function getUpdateKey() {
@@
-47,7
+47,7
@@
class FixExtLinksProtocolRelative extends LoggedUpdateMaintenance {
}
protected function doDBUpdates() {
}
protected function doDBUpdates() {
- $db =
wfG
etDB( DB_MASTER );
+ $db =
$this->g
etDB( DB_MASTER );
if ( !$db->tableExists( 'externallinks' ) ) {
$this->error( "externallinks table does not exist" );
if ( !$db->tableExists( 'externallinks' ) ) {
$this->error( "externallinks table does not exist" );