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
@@ -32,7 +32,7 @@ class ActionScheduler_SimpleSchedule implements ActionScheduler_Schedule {
|
||||
* @return array
|
||||
*/
|
||||
public function __sleep() {
|
||||
$this->timestamp = $this->date->format('U');
|
||||
$this->timestamp = $this->date->getTimestamp();
|
||||
return array(
|
||||
'timestamp',
|
||||
);
|
||||
@@ -42,4 +42,3 @@ class ActionScheduler_SimpleSchedule implements ActionScheduler_Schedule {
|
||||
$this->date = as_get_datetime_object($this->timestamp);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user