This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php //< Exclude this when assigning code to user.session.post_process handler | |
/// Application, when added _after_ user is registered, should assign 'registered' relation to all existing user records, that's by design | |
/// | |
//var_dump('$event[response]', $event['response']); | |
/// Success checking | |
function isStatusSuccess($status) | |
{ | |
return !empty($status) && 200 <= $status && $status < 300; |