We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit c86dff99 authored by Evan Prodromou's avatar Evan Prodromou

use a CRC32 of the plugin names rather than actual names

parent f5c85490
......@@ -164,8 +164,12 @@ class Router
$names = array_unique($names);
asort($names);
// Unique enough.
$uniq = crc32(implode(',', $names));
return Cache::key('router:'.STATUSNET_VERSION.':'.implode(',', $names));
return Cache::key('router:'.STATUSNET_VERSION.':'.$uniq);
}
function initialize()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment