mirror of
https://github.com/wallabag/wallabag.git
synced 2025-09-15 18:57:05 +00:00
Update test
and some cleanup
This commit is contained in:
parent
b1afef30dc
commit
eddda878a0
3 changed files with 41 additions and 18 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue