From: Vincent Vanwaelscappel Date: Fri, 23 Jul 2021 16:36:08 +0000 (+0200) Subject: wait #4621 @0:10 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=3f9161e9ec61fc55e38fe5cf03ac153479bd4664;p=fluidbook-toolbox.git wait #4621 @0:10 --- diff --git a/app/Jobs/UpdateWS2ThemeTable.php b/app/Jobs/UpdateWS2ThemeTable.php index 8d951f696..e8deb26f5 100644 --- a/app/Jobs/UpdateWS2ThemeTable.php +++ b/app/Jobs/UpdateWS2ThemeTable.php @@ -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)