Notes: Undoing changes to Entities/Note

This commit is contained in:
Ilya Prokopenko 2021-11-15 14:11:51 +03:00
parent 98fd851729
commit 3e0447c3f0
No known key found for this signature in database
GPG key ID: 7736BBBB05F14A56

View file

@ -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
{