Merge pull request #2708 from owncloud/dont_expose_installatio

Don't expose the server installation time
This commit is contained in:
Bart Visscher 2013-04-04 00:48:55 -07:00
commit 52fba43297
1 changed files with 1 additions and 1 deletions

View File

@ -419,7 +419,7 @@ class OC_Util {
$id = OC_Config::getValue('instanceid', null);
if(is_null($id)) {
// We need to guarantee at least one letter in instanceid so it can be used as the session_name
$id = 'oc' . uniqid();
$id = 'oc' . OC_Util::generate_random_bytes(10);
OC_Config::setValue('instanceid', $id);
}
return $id;