Use hash_equals in User::matchEditToken
authorGergő Tisza <tgr.huwiki@gmail.com>
Sat, 21 Nov 2015 19:51:02 +0000 (11:51 -0800)
committerChad Horohoe <chadh@wikimedia.org>
Fri, 18 Dec 2015 00:38:53 +0000 (16:38 -0800)
commitf5db0b307b45cbd236e4426440653e697ef4cf80
treed4c099876d84cf2f99f1bd6957a8531e51d38f70
parenta8247aba334928ac125c641cef6cdf5bb4f3ca4a
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
includes/user/User.php