File path: dist/twist/Core/Models/User/SessionHandler.model.php
Namespace: Twist\Core\Models\User
forgetDevice
— Forget a device and if it is current device log the user out.
Name | Description |
---|---|
$intUserID | n/a |
$mxdDevice | n/a |
void — No return information has been documented for this function.
<?php
//Set the variables for the example
$intUserID = 124;
$mxdDevice = 'foo-123';
//Call the function forgetDevice with the example vars
$resSessionHandler = new \Twist\Core\Models\User\SessionHandler();
$resSessionHandler -> forgetDevice($intUserID, $mxdDevice);