HomePhabricator

Use hash_equals in User::matchEditToken

Description

Use hash_equals in User::matchEditToken

There is no point in using hash_equals for the return value if we
do a normal comparison before.

Bug: T119309
Signed-off-by: Chad Horohoe <chadh@wikimedia.org>
Change-Id: Ia44ec5ed492105b27d0fddd845d58d27a29dc072

Details

Provenance
TgrAuthored on
demonCommitted on Dec 18 2015, 12:29 AM
Parents
rMWac9587126d54: Don't install a custom error handler for hooks
Branches
Unknown
Tags
Unknown
ChangeId
Ia44ec5ed492105b27d0fddd845d58d27a29dc072