X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2FWallabag%2FCoreBundle%2FEntity%2FEntry.php;h=8c20cde22e938d9df424d9b2c823540071386a64;hb=f1be7af446052c6fed7033664c6c6350f558961b;hp=a629efc763e454fe28172256d3f326363fd44396;hpb=3377c938f8e5bd6af2cd4430494f39a517a7e910;p=github%2Fwallabag%2Fwallabag.git 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 } $this->updatedAt = new \DateTime(); - - $this->generateUuid(); } /** @@ -634,4 +632,9 @@ class Entry $this->uuid = uniqid('', true); } } + + public function cleanUuid() + { + $this->uuid = null; + } }