From 3e0447c3f0020657396a53e64d30aaa6603f0444 Mon Sep 17 00:00:00 2001 From: Ilya Prokopenko Date: Mon, 15 Nov 2021 14:11:51 +0300 Subject: [PATCH] Notes: Undoing changes to Entities/Note --- Web/Models/Entities/Note.php | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/Web/Models/Entities/Note.php b/Web/Models/Entities/Note.php index 66afea26..e15a838c 100644 --- a/Web/Models/Entities/Note.php +++ b/Web/Models/Entities/Note.php @@ -72,16 +72,6 @@ class Note extends Postable $purifier = new HTMLPurifier($config); return $purifier->purify($this->getRecord()->source); } - - function getVirtualId(): int - { - return $this->getRecord()->virtual_id; - } - - function getPrettyId(): string - { - return $this->getRecord()->owner . "_" . $this->getVirtualId(); - } function getName(): string {