mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-16 14:33:14 +00:00
Replaced remaining occurrences of Feed_ classes, updated tests
This commit is contained in:
@@ -57,7 +57,7 @@ class SessionRepository extends EntityRepository
|
||||
$feed = $this->find($id);
|
||||
if ($feed) {
|
||||
$coll = $feed->getCollection($app);
|
||||
if ($feed->getPublic()
|
||||
if ($feed->isPublic()
|
||||
|| $coll === null
|
||||
|| in_array($coll->get_base_id(), array_keys($user->ACL()->get_granted_base()))) {
|
||||
return $feed;
|
||||
|
Reference in New Issue
Block a user