Stuff
This commit is contained in:
parent
2531369273
commit
66bef8f3dd
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue