HomePhorge

upload: Use more compact ?? operators and such

This commit no longer exists in the repository. It may have been part of a branch which was deleted.

Description

upload: Use more compact ?? operators and such

This makes the code more compact and more readable while doing the
same as before.

One relevant note: I'm also removing a null check for a variable
that will be used as an array index. This is fine because of the ??
operator. What actually happens is an $maxUploadSize[''] array
access, which never exists and falls back to what comes after the ??.

Change-Id: I7fc82fd179c9594ce5755327523ceec4f502d14f

Details

Provenance
thiemowmdeAuthored on Aug 8 2024, 2:01 PM

Event Timeline

thiemowmde <thiemo.kreuz@wikimedia.de> committed rMW983c157e6b0f: upload: Use more compact ?? operators and such (authored by thiemowmde <thiemo.kreuz@wikimedia.de>).Aug 8 2024, 2:04 PM

Commit No Longer Exists

This commit no longer exists in the repository.