Suppress taint-check false positive blocking CI
Bug: T294441 Change-Id: I8e060fa8cb7d90b742673a93a52f449920e1d6e9
This commit is contained in:
@@ -72,6 +72,7 @@ class ApiULSSetLanguage extends ApiBase {
|
|||||||
}
|
}
|
||||||
|
|
||||||
$updateUser = $user->getInstanceForUpdate();
|
$updateUser = $user->getInstanceForUpdate();
|
||||||
|
// @phan-suppress-next-line SecurityCheck-SQLInjection False positive caused by T290563
|
||||||
$this->userOptionsManager->setOption( $updateUser, 'language', $languageCode );
|
$this->userOptionsManager->setOption( $updateUser, 'language', $languageCode );
|
||||||
// Sync the DB on post-send
|
// Sync the DB on post-send
|
||||||
DeferredUpdates::addCallableUpdate( static function () use ( $updateUser ) {
|
DeferredUpdates::addCallableUpdate( static function () use ( $updateUser ) {
|
||||||
|
|||||||
Reference in New Issue
Block a user