]> _ Git - fluidbook-toolbox.git/commitdiff
wait #4621 @0:10
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 23 Jul 2021 16:36:08 +0000 (18:36 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 23 Jul 2021 16:36:08 +0000 (18:36 +0200)
app/Jobs/UpdateWS2ThemeTable.php

index 8d951f696b6487409115be016dfc0b7e75f5402d..e8deb26f5cfaaa2ab160c3e49ad4c6c169c71eec 100644 (file)
@@ -66,7 +66,7 @@ class UpdateWS2ThemeTable implements ShouldQueue
         $this->_ignore = ['id', 'name', 'owner', 'created_at', 'deleted_at', 'updated_at', 'slug'];
 
         $data = [];
-        $t = DB::table('extranet_clean.ws3_theme');
+        $t = DB::table('extranet_clean.ws3_themes');
         if ($this->id === 'all') {
             foreach (FluidbookTheme::all() as $theme) {
                 $data[] = $this->_handleTheme($theme);
@@ -132,7 +132,7 @@ class UpdateWS2ThemeTable implements ShouldQueue
             }
             $settings[$k] = $v;
         }
-        return ['theme_id' => $theme->id, 'signature' => 0, 'nom' => $theme->name, 'proprietaire' => $theme->owner, 'icones' => $theme->iconSet, 'date' => strtotime($theme->creation_date), 'parametres' => json_encode($settings)];
+        return ['theme_id' => $theme->id,'nom' => $theme->name, 'proprietaire' => $theme->owner, 'icones' => $theme->iconSet, 'date' => strtotime($theme->creation_date), 'parametres' => json_encode($settings)];
     }
 
     public static function colorAlphaToWS2($data)