LinkDeletionUpdate: Remove dead code

There is no lock to release since 6d315fb7f7. Static analysis
is not reporting this because it is allowed to pass an unset
variable by reference.

Change-Id: I819cf438fe074cbe06e103566f61adecee018c1e
This commit is contained in:
Matěj Suchánek 2021-07-13 11:06:26 +02:00
parent 58cef29d69
commit fe05fd2919

View file

@ -20,7 +20,6 @@
* @file
*/
use MediaWiki\MediaWikiServices;
use Wikimedia\ScopedCallback;
/**
* Update object handling the cleanup of links tables after a page was deleted.
@ -113,9 +112,6 @@ class LinksDeletionUpdate extends LinksUpdate implements EnqueueableDataUpdate {
);
}
}
// Commit and release the lock (if set)
ScopedCallback::consume( $scopedLock );
}
public function getAsJobSpecification() {