mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 23:13:15 +00:00
Remove phraseanet services, update configuration
This commit is contained in:
@@ -1456,7 +1456,7 @@ class ACL implements cache_cacheableInterface
|
||||
|
||||
foreach ($this->get_granted_base(array(), array($databox->get_sbas_id())) as $collection) {
|
||||
$stmt->execute(array(
|
||||
':site_id' => $this->app['phraseanet.registry']->get('GV_sit'),
|
||||
':site_id' => $this->app['phraseanet.configuration']['main']['key'],
|
||||
':usr_id' => $this->user->get_id(),
|
||||
':coll_id' => $collection->get_coll_id(),
|
||||
':mask_and' => $this->get_mask_and($collection->get_base_id()),
|
||||
@@ -1484,7 +1484,7 @@ class ACL implements cache_cacheableInterface
|
||||
$sql = 'DELETE FROM collusr WHERE usr_id = :usr_id AND site = :site';
|
||||
$params = array(
|
||||
':usr_id' => $this->user->get_id()
|
||||
, ':site' => $this->app['phraseanet.registry']->get('GV_sit')
|
||||
, ':site' => $this->app['phraseanet.configuration']['main']['key']
|
||||
);
|
||||
$stmt = $databox->get_connection()->prepare($sql);
|
||||
$stmt->execute($params);
|
||||
|
Reference in New Issue
Block a user