Merge "Drop MobileDiff check"

This commit is contained in:
jenkins-bot 2024-04-09 15:57:21 +00:00 committed by Gerrit Code Review
commit 886606fdc5

View file

@ -79,9 +79,8 @@ class Hooks implements
$type = $request->getRawVal( 'type' ); $type = $request->getRawVal( 'type' );
$diff = $request->getCheck( 'diff' ); $diff = $request->getCheck( 'diff' );
$oldId = $request->getCheck( 'oldid' ); $oldId = $request->getCheck( 'oldid' );
$isSpecialMobileDiff = $context->getTitle()->isSpecial( 'MobileDiff' );
return $type === 'revision' || $diff || $oldId || $isSpecialMobileDiff; return $type === 'revision' || $diff || $oldId;
} }
/** /**