Commit 6ffb6450 by Van

Remove event for update

parent ed0001e6
...@@ -30,6 +30,7 @@ class BoltSendEmailForNewContentExtension extends SimpleExtension ...@@ -30,6 +30,7 @@ class BoltSendEmailForNewContentExtension extends SimpleExtension
*/ */
public function hookPreSave(StorageEvent $event) public function hookPreSave(StorageEvent $event)
{ {
if(!$event->getId()) {
$app = $this->getContainer(); $app = $this->getContainer();
// Get contenttype // Get contenttype
...@@ -80,6 +81,7 @@ class BoltSendEmailForNewContentExtension extends SimpleExtension ...@@ -80,6 +81,7 @@ class BoltSendEmailForNewContentExtension extends SimpleExtension
return; return;
} }
}
/** /**
* Get Subscribers for notifications * Get Subscribers for notifications
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment