use a CRC32 of the plugin names rather than actual names
This commit is contained in:
parent
f5c8549068
commit
c86dff9901
|
@ -165,7 +165,11 @@ class Router
|
|||
$names = array_unique($names);
|
||||
asort($names);
|
||||
|
||||
return Cache::key('router:'.STATUSNET_VERSION.':'.implode(',', $names));
|
||||
// Unique enough.
|
||||
|
||||
$uniq = crc32(implode(',', $names));
|
||||
|
||||
return Cache::key('router:'.STATUSNET_VERSION.':'.$uniq);
|
||||
}
|
||||
|
||||
function initialize()
|
||||
|
|
Loading…
Reference in New Issue
Block a user