Uses WP time to schedule migration task

This commit is contained in:
Vlad
2018-03-20 15:48:21 -04:00
parent 3b4edd5c95
commit 44b96aa9a7

View File

@ -242,6 +242,6 @@ class Migration extends SimpleWorker {
static function getNextRunDate() { static function getNextRunDate() {
// run migration immediately // run migration immediately
return Carbon::now(); return Carbon::createFromTimestamp(current_time('timestamp'));
} }
} }