* Email notification options
* @{
*/
-define('NOTIFY_TAGSHARE', 256);
define('NOTIFY_POKE', 512);
define('NOTIFY_SHARE', 1024);
$itemlink = $params['link'];
}
- if ($params['type'] == NOTIFY_TAGSHARE) {
+ if ($params['type'] == Notify\Type::TAG_SHARE) {
$itemlink = $params['link'];
$subject = $l10n->t('[Friendica:Notify] %s tagged your post', $params['source_name']);
const PROFILE = 64;
/** @var int Notification about being tagged in a post */
const TAG_SELF = 128;
+ /** @var int Notification about being tagged
+ * @deprecated
+ */
+ const TAG_SHARE = 256;
}