forked from GNUsocial/gnu-social
use a CRC32 of the plugin names rather than actual names
This commit is contained in:
parent
02da858cef
commit
8c993a502c
@ -164,8 +164,12 @@ class Router
|
|||||||
|
|
||||||
$names = array_unique($names);
|
$names = array_unique($names);
|
||||||
asort($names);
|
asort($names);
|
||||||
|
|
||||||
|
// Unique enough.
|
||||||
|
|
||||||
return Cache::key('router:'.STATUSNET_VERSION.':'.implode(',', $names));
|
$uniq = crc32(implode(',', $names));
|
||||||
|
|
||||||
|
return Cache::key('router:'.STATUSNET_VERSION.':'.$uniq);
|
||||||
}
|
}
|
||||||
|
|
||||||
function initialize()
|
function initialize()
|
||||||
|
Loading…
Reference in New Issue
Block a user