X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=blobdiff_plain;f=maintenance%2FfixExtLinksProtocolRelative.php;h=0c60e62c702e2477ff55fae64634e1bb38a4eecd;hb=a0b52295b68ba7eb7196547e1aa59ff0b5c1febf;hp=920b2b099cf0b6380f95af93997cfda4d0425374;hpb=80dd48238c3a356bab8ba7df1936fbb7349c4630;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/fixExtLinksProtocolRelative.php b/maintenance/fixExtLinksProtocolRelative.php index 920b2b099c..0c60e62c70 100644 --- a/maintenance/fixExtLinksProtocolRelative.php +++ b/maintenance/fixExtLinksProtocolRelative.php @@ -50,6 +50,7 @@ class FixExtLinksProtocolRelative extends LoggedUpdateMaintenance { $db = wfGetDB( DB_MASTER ); if ( !$db->tableExists( 'externallinks' ) ) { $this->error( "externallinks table does not exist" ); + return false; } $this->output( "Fixing protocol-relative entries in the externallinks table...\n" ); @@ -91,6 +92,7 @@ class FixExtLinksProtocolRelative extends LoggedUpdateMaintenance { ); } $this->output( "Done, $count rows updated.\n" ); + return true; } }