PermissionManager: Fix missingPermissionError() not returning early when $short is true.
This regression was introduced in I6670a58fe1. Bug: T399793 Co-Authored-By: Jonathan Lee <cookmeplox@weirdgloop.org> Change-Id: I26b61e2a08b51aaca5d2740dcaf20b509be380eb (cherry picked from commit fa05279424e0688a7b34f1186050dca1e2ec5f4b)
This commit is contained in:
parent
330ef61cbe
commit
8728f29a32
1 changed files with 1 additions and 0 deletions
|
|
@ -699,6 +699,7 @@ class PermissionManager {
|
|||
// We avoid expensive display logic for quickUserCan's and such
|
||||
if ( $short ) {
|
||||
$status->fatal( 'badaccess-group0' );
|
||||
return;
|
||||
}
|
||||
|
||||
// TODO: it would be a good idea to replace the method below with something else like
|
||||
|
|
|
|||
Loading…
Reference in a new issue