<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<div style="margin: 0px; font-size: 12pt; font-family: Calibri, Arial, Helvetica, sans-serif; background-color: rgb(255, 255, 255)">
Hi,</div>
<div style="margin: 0px; font-size: 12pt; font-family: Calibri, Arial, Helvetica, sans-serif; background-color: rgb(255, 255, 255)">
<br>
</div>
<div style="margin: 0px; font-size: 12pt; font-family: Calibri, Arial, Helvetica, sans-serif; background-color: rgb(255, 255, 255)">
I have found a behavior in the registrar module that I do have a question about. Is the current behavior correct and wanted?</div>
<div style="margin: 0px; font-size: 12pt; font-family: Calibri, Arial, Helvetica, sans-serif; background-color: rgb(255, 255, 255)">
<br>
</div>
<div style="margin: 0px; font-size: 12pt; font-family: Calibri, Arial, Helvetica, sans-serif; background-color: rgb(255, 255, 255)">
Using the save() method in the script I see the following:</div>
<div style="margin: 0px; font-size: 12pt; font-family: Calibri, Arial, Helvetica, sans-serif; background-color: rgb(255, 255, 255)">
<br>
</div>
<div style="margin: 0px; font-size: 12pt; font-family: Calibri, Arial, Helvetica, sans-serif; background-color: rgb(255, 255, 255)">
<ul>
<li>Processing a register request for a user gives return code 1 ( or 2 )</li><li>Processing a unregister request (expires=0) for registered user gives return code 3</li><li>Processing a unregister request (expires=0) for a user which is NOT registered gives return code 1. Why?<br>
</li></ul>
<div style="margin: 0px">What is the reason behind this?</div>
<div style="margin: 0px">No database entry is added which is expected.</div>
<div style="margin: 0px"><br>
</div>
<div style="margin: 0px">Test performed on 5.1.4, using DB mode 3.</div>
<div style="margin: 0px"><br>
</div>
<div style="margin: 0px">For handling a late unregister request ( where registration has already expired) return code does not reflect the the action.</div>
<div style="margin: 0px">I assume that manually checking $expires(max) is the option to go then if I want to detect the unregister request or?</div>
<div style="margin: 0px"><br>
</div>
<div style="margin: 0px">Cheers,</div>
<div style="margin: 0px">Lars</div>
</div>
<br>
</div>
</body>
</html>