Merge pull request #2708 from owncloud/dont_expose_installatio

Don't expose the server installation time
remotes/origin/stable6
Bart Visscher 14 years ago
commit 52fba43297
  1. 2
      lib/util.php

@ -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;

Loading…
Cancel
Save