public static function getBirthdays()
{
- $a = \get_app();
+ $a = DI::app();
$o = '';
if (!local_user() || DI::mode()->isMobile() || DI::mode()->isMobile()) {
public static function getEventsReminderHTML()
{
- $a = \get_app();
+ $a = DI::app();
$o = '';
if (!local_user() || DI::mode()->isMobile() || DI::mode()->isMobile()) {
*/
public static function addVisitorCookieForHandle($handle)
{
- $a = \get_app();
+ $a = DI::app();
// Try to find the public contact entry of the visitor.
$cid = Contact::getIdForURL($handle);
*/
public static function openWebAuthInit($token)
{
- $a = \get_app();
+ $a = DI::app();
// Clean old OpenWebAuthToken entries.
OpenWebAuthToken::purge('owt', '3 MINUTE');