diff options
Diffstat (limited to 'src/Wallabag/CoreBundle/Entity/Entry.php')
-rw-r--r-- | src/Wallabag/CoreBundle/Entity/Entry.php | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/Wallabag/CoreBundle/Entity/Entry.php b/src/Wallabag/CoreBundle/Entity/Entry.php index a629efc7..8c20cde2 100644 --- a/src/Wallabag/CoreBundle/Entity/Entry.php +++ b/src/Wallabag/CoreBundle/Entity/Entry.php | |||
@@ -436,8 +436,6 @@ class Entry | |||
436 | } | 436 | } |
437 | 437 | ||
438 | $this->updatedAt = new \DateTime(); | 438 | $this->updatedAt = new \DateTime(); |
439 | |||
440 | $this->generateUuid(); | ||
441 | } | 439 | } |
442 | 440 | ||
443 | /** | 441 | /** |
@@ -634,4 +632,9 @@ class Entry | |||
634 | $this->uuid = uniqid('', true); | 632 | $this->uuid = uniqid('', true); |
635 | } | 633 | } |
636 | } | 634 | } |
635 | |||
636 | public function cleanUuid() | ||
637 | { | ||
638 | $this->uuid = null; | ||
639 | } | ||
637 | } | 640 | } |