mirror of
https://github.com/pronamic/woocommerce-subscriptions.git
synced 2025-10-17 14:52:56 +00:00
2.3.2
This commit is contained in:

committed by
Remco Tolsma

parent
5fb62b0e6a
commit
1039aec2d9
@@ -49,7 +49,7 @@ class ActionScheduler_IntervalSchedule implements ActionScheduler_Schedule {
|
||||
* @return array
|
||||
*/
|
||||
public function __sleep() {
|
||||
$this->start_timestamp = $this->start->format('U');
|
||||
$this->start_timestamp = $this->start->getTimestamp();
|
||||
return array(
|
||||
'start_timestamp',
|
||||
'interval_in_seconds'
|
||||
@@ -60,4 +60,3 @@ class ActionScheduler_IntervalSchedule implements ActionScheduler_Schedule {
|
||||
$this->start = as_get_datetime_object($this->start_timestamp);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user