Jake Vanderwerf
2026-02-10 db7986cd0c325a761e8534334195cd9ec7b1961a
inc/managers/queue/Storage.php
@@ -138,6 +138,9 @@
         return false;
      }
      $this->invalidateUser($op->userId);
      return true;
   }
@@ -172,7 +175,6 @@
      ];
      $updated = $wpdb->update($table, $data, $where);
      $this->invalidateQueueCache();
      if ($updated === 0) {
         return true;
@@ -182,6 +184,8 @@
         error_log('[Storage::saveFinal] DB error: ' . $wpdb->last_error);
         return false;
      }
      $this->invalidateQueueCache();
      $this->invalidateUser($op->userId);
      return true;
   }
@@ -239,6 +243,8 @@
         $type, $userId
      ));
      $this->invalidateUser($userId);
      return $row ? $this->rowToOperation($row) : null;
   }
@@ -442,7 +448,7 @@
   private function invalidateUser(int $userId): void
   {
      $this->cache->forget($userId);
      Cache::for($userId.'_queue')->flush();
   }
   public function getLastError(): string
   {