summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/router.php16
1 files changed, 1 insertions, 15 deletions
diff --git a/lib/router.php b/lib/router.php
index 7272a9690..8d2fbf6cd 100644
--- a/lib/router.php
+++ b/lib/router.php
@@ -156,21 +156,7 @@ class Router
static function cacheKey()
{
- $plugins = StatusNet::getActivePlugins();
- $names = array();
-
- foreach ($plugins as $plugin) {
- $names[] = $plugin[0];
- }
-
- $names = array_unique($names);
- asort($names);
-
- // Unique enough.
-
- $uniq = crc32(implode(',', $names));
-
- return Cache::key('router:'.STATUSNET_VERSION.':'.$uniq);
+ return Cache::codeKey('router');
}
function initialize()