- Модуль: mobile
- Путь к файлу: ~/bitrix/modules/mobile/lib/rest/settings.php
- Класс: BitrixMobileRestSettings
- Вызов: Settings::getOtherSettings
public function getOtherSettings($params, $offset, CRestServer $server)
{
global $USER;
$userId = $USER->getId();
return [
"push_low_activity" => BitrixMainConfigOption::get("mobile", "push_save_energy_".$userId, false),
"allow_invite_users" => (BitrixMainConfigOption::get("bitrix24", "allow_invite_users", "N") == "Y")
];
}