summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2010-11-30 10:11:39 -0500
committerEvan Prodromou <evan@status.net>2010-11-30 10:11:53 -0500
commitc86dff990196f0a9a5cd2eb5a7183c39ea851446 (patch)
tree7eb80a820d947ece193417f333f977ee303c2fa1 /lib
parentf5c854906850f37a5b9f4816fe2b28de14353859 (diff)
use a CRC32 of the plugin names rather than actual names
Diffstat (limited to 'lib')
-rw-r--r--lib/router.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/router.php b/lib/router.php
index 3ea93b708..1cd66ca79 100644
--- a/lib/router.php
+++ b/lib/router.php
@@ -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()