$session->deleteObserver( )
The deleteObserver() function is an alias for purgeObserver(). The section “purgeObserver” on page 102 provides additional information.
Note:
Consider this an internal call. Use $session->detach() instead, as discussed in Chapter 3, “InCharge::Session.”
The deleteObserver() function reverses the effect of getObserverId(), deregistering the script as an observer.
$session->deleteObserver();