|
@@ 141-148 (lines=8) @@
|
| 138 |
|
update_option( "{$prefix}_started", time() ); |
| 139 |
|
} |
| 140 |
|
|
| 141 |
|
private function get_status_queuing_started() { |
| 142 |
|
$prefix = self::STATUS_OPTION_PREFIX; |
| 143 |
|
$status = get_option( "{$prefix}_started", null ); |
| 144 |
|
if ( is_null( $status ) ) { |
| 145 |
|
return $status; |
| 146 |
|
} |
| 147 |
|
return intval( $status ); |
| 148 |
|
} |
| 149 |
|
|
| 150 |
|
private function set_status_queuing_finished() { |
| 151 |
|
$prefix = self::STATUS_OPTION_PREFIX; |
|
@@ 155-162 (lines=8) @@
|
| 152 |
|
update_option( "{$prefix}_queue_finished", time() ); |
| 153 |
|
} |
| 154 |
|
|
| 155 |
|
private function get_status_queuing_finished() { |
| 156 |
|
$prefix = self::STATUS_OPTION_PREFIX; |
| 157 |
|
$status = get_option( "{$prefix}_queue_finished", null ); |
| 158 |
|
if ( is_null( $status ) ) { |
| 159 |
|
return $status; |
| 160 |
|
} |
| 161 |
|
return intval( $status ); |
| 162 |
|
} |
| 163 |
|
|
| 164 |
|
private function is_started() { |
| 165 |
|
$prefix = self::STATUS_OPTION_PREFIX; |