Replaced remaining occurrences of Feed_ classes, updated tests

This commit is contained in:
Andrey
2013-06-12 17:54:36 +02:00
parent 9a5baff4a0
commit 84300f3c92
33 changed files with 310 additions and 296 deletions

View File

@@ -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;