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:
parent
58cef29d69
commit
fe05fd2919
1 changed files with 0 additions and 4 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue