Skip to content
Snippets Groups Projects
Commit 53fd122b authored by Miquel Rodríguez Telep / Michael Rodríguez-Torrent's avatar Miquel Rodríguez Telep / Michael Rodríguez-Torrent
Browse files

Minor typo, coding style fixes for OC_Util::getInstanceId

parent d49e8ffb
No related branches found
No related tags found
No related merge requests found
......@@ -411,18 +411,18 @@ class OC_Util {
exit();
}
/**
* get an id unqiue for this instance
* @return string
*/
public static function getInstanceId() {
$id=OC_Config::getValue('instanceid', null);
if(is_null($id)) {
$id=uniqid();
OC_Config::setValue('instanceid', $id);
}
return $id;
}
/**
* get an id unique for this instance
* @return string
*/
public static function getInstanceId() {
$id = OC_Config::getValue('instanceid', null);
if(is_null($id)) {
$id = uniqid();
OC_Config::setValue('instanceid', $id);
}
return $id;
}
/**
* @brief Static lifespan (in seconds) when a request token expires.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment