forked from wallabag/wallabag
Update test
and some cleanup
This commit is contained in:
@ -627,7 +627,7 @@ class Entry
|
||||
|
||||
public function generateUuid()
|
||||
{
|
||||
if (empty($this->uuid) || is_null($this->uuid)) {
|
||||
if (null === $this->uuid) {
|
||||
// @see http://blog.kevingomez.fr/til/2015/07/26/why-is-uniqid-slow/ for true parameter
|
||||
$this->uuid = uniqid('', true);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user