X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FModel%2FNotify.php;h=9ebf5c23b3efc0ee07ef91e6b9b07490560a8727;hb=9acecfd9e6f75fa70b52773d4ed63ee20406894b;hp=35d72384e89526cb94e362dbd1bbab159db67478;hpb=0406fe7adeb48775bd5a25638042f61c8d2b4fd1;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) { } }