-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Contact sync #26
Contact sync #26
Conversation
$users = $wp_user_query->get_results(); | ||
|
||
if ( empty( $users ) ) { | ||
wp_clear_scheduled_hook( OMNISEND_CORE_CRON_SYNC_CONTACT ); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would suggest to add log
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is normal situation when all users are synced. We decided do not have UI and plugin does not have logs like Woo plugin. What log and where you expect?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe adding logs now will save us time later, when we would introduce logs in UI.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was thinking about that, but decided not to do, as this will increase scope. Let's leave for later.
Co-authored-by: Rokas Paičius <rokas.p@omnisend.com>
Co-authored-by: Rokas Paičius <rokas.p@omnisend.com>
https://omnisend.atlassian.net/browse/INT-813