]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - src/Wallabag/CoreBundle/Entity/Entry.php
Change share entry behavior
[github/wallabag/wallabag.git] / src / Wallabag / CoreBundle / Entity / Entry.php
index a629efc763e454fe28172256d3f326363fd44396..8c20cde22e938d9df424d9b2c823540071386a64 100644 (file)
@@ -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;
+    }
 }