]> _ Git - fluidbook-toolbox.git/commitdiff
wip #6998
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Thu, 18 Jul 2024 09:05:20 +0000 (11:05 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Thu, 18 Jul 2024 09:05:20 +0000 (11:05 +0200)
app/Jobs/FluidbookCollectionDownload.php

index 6747eb4e556cdb185441aafc37fdcef99773c451..2a5a5749279f8f56386a654dc7ecf87878f435fd 100644 (file)
@@ -136,7 +136,7 @@ class FluidbookCollectionDownload extends DownloadBase
 
         foreach ($data->publications as $publication) {
             $fbid = $publication['fluidbook'];
-            $this->fluidbooks[$fbid] = FluidbookPublication::syncPublicationFromWorkshop($fbid);
+            $this->fluidbooks[$fbid] = FluidbookPublication::withoutGlobalScopes()->find($fbid);
             $this->langs[$fbid] = $this->fluidbooks[$fbid]->locale;
             $this->countries[$fbid] = $this->fluidbooks[$fbid]->country;
             $this->devices[$fbid] = $this->fluidbooks[$fbid]->mobileNavigationType === 'mobilefirst' ? 'mf' : 'd';