Closed (fixed)
Project:
Token
Version:
5.x-1.6
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
12 Mar 2007 at 17:25 UTC
Updated:
26 Mar 2007 at 19:02 UTC
Case $type is "user", the cache identifier should be the uid of the passed object.
Furthermore, this patch switches to using crc32() instead of md5() on the serialized $object, which is about twice as fast and absolutely sufficient for this case.
Note: patch is against CVS DRUPAL-5.
--
Stefan Kudwien
www.unleashedmind.com
| Comment | File | Size | Author |
|---|---|---|---|
| token-get-id.patch | 856 bytes | smk-ka |
Comments
Comment #1
eaton commentedCommited to the dev branch -- thanks!
Comment #2
(not verified) commented