use a CRC32 of the plugin names rather than actual names

This commit is contained in:
Evan Prodromou 2010-11-30 10:11:39 -05:00
parent f5c8549068
commit c86dff9901

View File

@ -164,8 +164,12 @@ class Router
$names = array_unique($names);
asort($names);
// Unique enough.
return Cache::key('router:'.STATUSNET_VERSION.':'.implode(',', $names));
$uniq = crc32(implode(',', $names));
return Cache::key('router:'.STATUSNET_VERSION.':'.$uniq);
}
function initialize()