aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Entity/Entry.php
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2016-08-23 16:49:12 +0200
committerNicolas LÅ“uillet <nicolas@loeuillet.org>2016-08-23 16:49:21 +0200
commitf1be7af446052c6fed7033664c6c6350f558961b (patch)
tree41889e7ace01b1f1df05ffb412bac0427d9975a2 /src/Wallabag/CoreBundle/Entity/Entry.php
parent3377c938f8e5bd6af2cd4430494f39a517a7e910 (diff)
downloadwallabag-f1be7af446052c6fed7033664c6c6350f558961b.tar.gz
wallabag-f1be7af446052c6fed7033664c6c6350f558961b.tar.zst
wallabag-f1be7af446052c6fed7033664c6c6350f558961b.zip
Change share entry behavior
Diffstat (limited to 'src/Wallabag/CoreBundle/Entity/Entry.php')
-rw-r--r--src/Wallabag/CoreBundle/Entity/Entry.php7
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}