Skip to content

Commit 984af36

Browse files
authored
Merge pull request #340 from cloudinary/fix/sync-status-update
Fix sync status update
2 parents 9140244 + 7583074 commit 984af36

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

php/sync/class-sync-queue.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,8 @@ public function setup() {
101101
* @return bool
102102
*/
103103
public function is_enabled() {
104-
return $this->is_running();
104+
$status = $this->get_queue_status();
105+
return $status['is_running'];
105106
}
106107

107108
/**

0 commit comments

Comments
 (0)