function remove_probation(\ElggUser $user) { $user->deleteMetadata(ON_PROBATION); State::$users_leaving_probation[$user->guid] = $user; }