summaryrefslogtreecommitdiff
path: root/lib/router.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/router.php')
-rw-r--r--lib/router.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/router.php b/lib/router.php
index 570c7aa28..9640ec1e0 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()