geodirectory-functions/privacy/class-geodir-background-process.php 1 location
|
@@ 117-121 (lines=5) @@
|
| 114 |
|
} |
| 115 |
|
|
| 116 |
|
// Update or delete current batch. |
| 117 |
|
if ( ! empty( $batch->data ) ) { |
| 118 |
|
$this->update( $batch->key, $batch->data ); |
| 119 |
|
} else { |
| 120 |
|
$this->delete( $batch->key ); |
| 121 |
|
} |
| 122 |
|
} while ( ! $this->batch_limit_exceeded() && ! $this->is_queue_empty() ); |
| 123 |
|
|
| 124 |
|
$this->unlock_process(); |
geodirectory-functions/privacy/libraries/wp-background-process.php 1 location
|
@@ 316-320 (lines=5) @@
|
| 313 |
|
} |
| 314 |
|
|
| 315 |
|
// Update or delete current batch. |
| 316 |
|
if ( ! empty( $batch->data ) ) { |
| 317 |
|
$this->update( $batch->key, $batch->data ); |
| 318 |
|
} else { |
| 319 |
|
$this->delete( $batch->key ); |
| 320 |
|
} |
| 321 |
|
} while ( ! $this->time_exceeded() && ! $this->memory_exceeded() && ! $this->is_queue_empty() ); |
| 322 |
|
|
| 323 |
|
$this->unlock_process(); |