mirror of
https://github.com/nextcloud/server.git
synced 2026-04-21 14:23:17 -04:00
fix: Use application ids as well as versions in the cache prefix
Avoids a corner case issue if one application was disabled and another one enabled with the same version, just to be safe. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
This commit is contained in:
parent
89f51a8f4e
commit
12e7f46b30
1 changed files with 1 additions and 1 deletions
|
|
@ -620,7 +620,7 @@ class Server extends ServerContainer implements IServerContainer {
|
|||
];
|
||||
}
|
||||
$v['core'] = implode(',', $serverVersion->getVersion());
|
||||
$version = implode(',', $v);
|
||||
$version = implode(',', array_keys($v)) . implode(',', $v);
|
||||
$instanceId = \OC_Util::getInstanceId();
|
||||
$path = \OC::$SERVERROOT;
|
||||
return md5($instanceId . '-' . $version . '-' . $path);
|
||||
|
|
|
|||
Loading…
Reference in a new issue