HomePhabricator

BoardContent: Fix deprecation warning

Description

BoardContent: Fix deprecation warning

I can't find a reasonable way to inject it,
and since global state is used in a bunch of
calls here already, directly calling
UserFactory::newFromUserIdentity sounds to be
a good quick fix.

Bug: T289625
Change-Id: I27c94bb34cbe0759bb8fab587dd60d48294acc68
(cherry picked from commit 1adc31ecb24c777ecf128aadb41ead4ef65111eb)

Details

Provenance
UrbanecmAuthored on Aug 24 2021, 9:08 PM
Parents
rEFLWdd464b4522ef: Fix reference to renamed abortAllApiRequests method
Branches
Unknown
Tags
Unknown
References
wmf/1.37.0-wmf.20, refs/changes/46/714846/1
ChangeId
I27c94bb34cbe0759bb8fab587dd60d48294acc68