summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
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()