This commit is contained in:
Prospress Inc
2018-07-19 12:14:08 +02:00
committed by Remco Tolsma
parent 5fb62b0e6a
commit 1039aec2d9
126 changed files with 13546 additions and 4169 deletions

View File

@@ -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);
}
}