Ingo_Storage::removeUserData PHP Method

removeUserData() public method

Removes the user data from the storage backend.
public removeUserData ( string $user )
$user string The user name to delete filters for.
    public function removeUserData($user)
    {
        global $registry;
        if (!$registry->isAdmin() && $user != $registry->getAuth()) {
            throw new Ingo_Exception(_("Permission Denied"));
        }
        $this->_removeUserData($user);
        $this->_rules = array();
    }