mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 15:03:25 +00:00
Use configuration property accessor
This commit is contained in:
@@ -462,7 +462,7 @@ class databox extends base
|
||||
|
||||
$this->app['EM']->flush();
|
||||
|
||||
$params = [':site_id' => $this->app['configuration']['main']['key']];
|
||||
$params = [':site_id' => $this->app['conf']->get(['main', 'key'])];
|
||||
|
||||
$sql = 'DELETE FROM clients WHERE site_id = :site_id';
|
||||
$stmt = $this->get_connection()->prepare($sql);
|
||||
|
Reference in New Issue
Block a user