%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/bitrix/www/bitrix/components/bitrix/mobileapp.auth/actions/
Upload File :
Create Path :
Current File : //home/bitrix/www/bitrix/components/bitrix/mobileapp.auth/actions/logout.php

<?if(!Defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true) die();

$data = Array(
	"logout_status" => "success",
);

if ($_REQUEST["uuid"])
{
	if(CModule::IncludeModule("pull"))
	{
		$dbres = CPullPush::GetList(array(), array("=DEVICE_ID" => $_REQUEST["uuid"]));
		while($arToken = $dbres->Fetch())
		{
			CPullPush::Delete($arToken["ID"]);
			$data["token_status"] = "deleted";
		}
	}
}
$USER->Logout();
?>

Zerion Mini Shell 1.0