This commit is contained in:
Kekskurse 2021-05-17 23:31:19 +02:00
parent 2531369273
commit 66bef8f3dd
Signed by: kekskurse
GPG key ID: 728ACCB59341E7E4

View file

@ -49,7 +49,7 @@ class ServerUpdateCache extends Command
$themeList[$tm->name] = $tm; $themeList[$tm->name] = $tm;
} }
$sql = 'SELECT images.id, images.path, images.driver, tenants.template, tenants.gallery_default_theme FROM images LEFT JOIN tenants ON tenants.id = images.tenant WHERE servername = "'.env("APP_SERVER").'";'; $sql = 'SELECT images.id, images.path, images.driver, tenants.template, tenants.gallery_default_theme FROM images LEFT JOIN tenants ON tenants.id = images.tenant WHERE typ != "watermark" AND servername = "'.env("APP_SERVER").'";';
$res = DB::select($sql); $res = DB::select($sql);
foreach ($res as $re) { foreach ($res as $re) {
$this->info("Image: ".$re->id); $this->info("Image: ".$re->id);