From: nupplaPhil Date: Wed, 5 Feb 2020 21:27:04 +0000 (+0100) Subject: Set global notify constants deprecated X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=f2517e2fba27c89062d7db96ad1ba5c807fbb8ab;p=friendica.git Set global notify constants deprecated --- diff --git a/boot.php b/boot.php index 40729a78c0..8b9077b09d 100644 --- a/boot.php +++ b/boot.php @@ -134,6 +134,40 @@ $netgroup_ids = [ */ define('MAX_LIKERS', 75); +/** + * @name Notify + * + * Email notification options + * @{ + */ +/** @deprecated since 2020.12, use Notify\Type::INTRO instead */ +define('NOTIFY_INTRO', 1); +/** @deprecated since 2020.12, use Notify\Type::CONFIRM instead */ +define('NOTIFY_CONFIRM', 2); +/** @deprecated since 2020.12, use Notify\Type::WALL instead */ +define('NOTIFY_WALL', 4); +/** @deprecated since 2020.12, use Notify\Type::COMMENT instead */ +define('NOTIFY_COMMENT', 8); +/** @deprecated since 2020.12, use Notify\Type::MAIL instead */ +define('NOTIFY_MAIL', 16); +/** @deprecated since 2020.12, use Notify\Type::SUGGEST instead */ +define('NOTIFY_SUGGEST', 32); +/** @deprecated since 2020.12, use Notify\Type::PROFILE instead */ +define('NOTIFY_PROFILE', 64); +/** @deprecated since 2020.12, use Notify\Type::TAG_SELF instead */ +define('NOTIFY_TAGSELF', 128); +/** @deprecated since 2020.12, use Notify\Type::TAG_SHARE instead */ +define('NOTIFY_TAGSHARE', 256); +/** @deprecated since 2020.12, use Notify\Type::POKE instead */ +define('NOTIFY_POKE', 512); +/** @deprecated since 2020.12, use Notify\Type::SHARE instead */ +define('NOTIFY_SHARE', 1024); + +/** @deprecated since 2020.12, use Notify\Type::SYSTEM instead */ +define('NOTIFY_SYSTEM', 32768); +/* @}*/ + + /** @deprecated since 2019.03, use Term::UNKNOWN instead */ define('TERM_UNKNOWN', Term::UNKNOWN); /** @deprecated since 2019.03, use Term::HASHTAG instead */