Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Universal-Omega authored Nov 18, 2024
1 parent 3897170 commit e0c40b3
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions includes/Jobs/RottenLinksJob.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
use Job;
use MediaWiki\ExternalLinks\LinkFilter;
use MediaWiki\MediaWikiServices;
use Miraheze\RottenLinks\RottenLinks;

class RottenLinksJob extends Job implements GenericParameterJob {

Expand All @@ -19,11 +20,6 @@ public function __construct( array $params ) {
$this->removedExternalLinks = $params['removedExternalLinks'];
}

/**
* Execute the job, updating the 'rottenlinks' table based on added and removed external links.
*
* @return bool True on success.
*/
public function run(): bool {
$config = MediaWikiServices::getInstance()->getConfigFactory()->makeConfig( 'RottenLinks' );
$dbw = MediaWikiServices::getInstance()->getConnectionProvider()->getPrimaryDatabase();
Expand Down

0 comments on commit e0c40b3

Please sign in to comment.