X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FModel%2FNotify.php;h=9ebf5c23b3efc0ee07ef91e6b9b07490560a8727;hb=701dbdf7fc4979f05fde1c655b17ca3aff0a59e0;hp=35d72384e89526cb94e362dbd1bbab159db67478;hpb=a3028e69aa98bc0197285116fb6cebeb89cd23de;p=friendica.git diff --git a/src/Model/Notify.php b/src/Model/Notify.php index 35d72384e8..9ebf5c23b3 100644 --- a/src/Model/Notify.php +++ b/src/Model/Notify.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Model; @@ -31,10 +50,6 @@ use Psr\Log\LoggerInterface; */ class Notify extends BaseModel { - const OTYPE_ITEM = 'item'; - const OTYPE_INTRO = 'intro'; - const OTYPE_MAIL = 'mail'; - const OTYPE_PERSON = 'person'; /** @var \Friendica\Repository\Notify */ private $repo; @@ -55,7 +70,7 @@ class Notify extends BaseModel private function setNameCache() { try { - $this->name_cache = strip_tags(BBCode::convert($this->source_name ?? '')); + $this->name_cache = strip_tags(BBCode::convert($this->source_name)); } catch (InternalServerErrorException $e) { } }