mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 06:53:15 +00:00
Fix CS lib/classes
This commit is contained in:
2
lib/classes/cache/databox.php
vendored
2
lib/classes/cache/databox.php
vendored
@@ -153,7 +153,6 @@ class cache_databox
|
||||
|
||||
$connbas = \connection::getPDOConnection($app, $sbas_id);
|
||||
|
||||
|
||||
$sql = 'SELECT distinct site_id as site_id
|
||||
FROM clients
|
||||
WHERE site_id != :site_id';
|
||||
@@ -181,7 +180,6 @@ class cache_databox
|
||||
{
|
||||
$connbas = $databox->get_connection();
|
||||
|
||||
|
||||
$sql = 'SELECT site_id FROM clients WHERE site_id = :site_id';
|
||||
$stmt = $connbas->prepare($sql);
|
||||
$stmt->execute(array(':site_id' => $app['phraseanet.registry']->get('GV_ServerName')));
|
||||
|
Reference in New Issue
Block a user