HOR-684 Permitir deshabilitar las notificaciones de Mobile
HOR-684 change name variable HOR-684 up observations
This commit is contained in:
@@ -7,6 +7,18 @@ use G;
|
||||
|
||||
class NotificationDevice
|
||||
{
|
||||
|
||||
|
||||
public function checkMobileNotifications()
|
||||
{
|
||||
$conf = \System::getSystemConfiguration('', '', SYS_SYS);
|
||||
$activeNotifications = true;
|
||||
if (isset($conf['mobileNotifications'])) {
|
||||
$activeNotifications = $conf['mobileNotifications'] == 1 ? true : false;
|
||||
}
|
||||
return $activeNotifications;
|
||||
}
|
||||
|
||||
/**
|
||||
* Post Create register device with userUid
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user