Jump to content

New transfer sync cron


Recommended Posts

I posted this several days ago in the existing thread (in the Beta forum at: - link removed - ) about the Transfer Sync cron, but my post apparently had to be approved, which it hasn't been. So I thought I'd try here:

 

 

We're using custom registrar modules, so I'm trying to build this into our modules.

 

I've set up the _Sync and _TransferSync functions, which are called & working fine, however I'm not sure what the return values for 'success' should be. Have checked the above page but it doesn't seem to have any info on the new sync functions.

 

I can return an error message fine using array('error' => 'error description') from both functions.

 

Returning anything else (eg. false/true) from the _Sync function makes no difference - the sync lists the domain as In Sync. What I'm hoping we can do is return 'In Sync', but have a message as well if there was an update performed. Eg. In Sync: Expiry date updated. Possible?

 

From the _TransferSync function, I need to know how to return 'transfer complete'. Currently I am manually updating the DB entry to Active within that function, but there must be a better way, as it still shows 'transfer in progress' on that printout of the report. What should we return for transfer complete? False & true don't work.

Edited by Infopro
removed link to depracated forum
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated