diff --git a/hesabixCore/src/Service/Notification.php b/hesabixCore/src/Service/Notification.php index 0074659..aadb278 100644 --- a/hesabixCore/src/Service/Notification.php +++ b/hesabixCore/src/Service/Notification.php @@ -27,17 +27,4 @@ class Notification $this->em->flush(); return true; } - public function insert(string $message,string $url,User $user): bool - { - $item = new \App\Entity\Notification(); - $item->setBid(null); - $item->setDateSubmit(time()); - $item->setViewed(false); - $item->setUser($user); - $item->setMessage($message); - $item->setUrl($url); - $this->em->persist($item); - $this->em->flush(); - return true; - } } \ No newline at end of file