Move Notify::TYPE_INTRO

This commit is contained in:
nupplaPhil
2020-02-04 22:03:45 +01:00
parent 97b6f6b3b3
commit cfd50f9abb
8 changed files with 24 additions and 8 deletions

View File

@@ -13,6 +13,7 @@ use Friendica\DI;
use Friendica\Model\Contact;
use Friendica\Model\Group;
use Friendica\Model\Item;
use Friendica\Model\Notify\Type;
use Friendica\Util\DateTimeFormat;
use Friendica\Util\Temporal;
use Friendica\Util\Proxy as ProxyUtils;
@@ -403,7 +404,7 @@ function ping_get_notifications($uid)
AND NOT (`notify`.`type` IN (%d, %d))
AND $seensql `notify`.`seen` ORDER BY `notify`.`date` $order LIMIT %d, 50",
intval($uid),
intval(NOTIFY_INTRO),
intval(Type::INTRO),
intval(NOTIFY_MAIL),
intval($offset)
);