mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-13 13:03:20 +00:00
removed findallpublic method
This commit is contained in:
@@ -49,22 +49,6 @@ class SessionRepository extends EntityRepository
|
||||
return $query->getResult();
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns all the public feeds.
|
||||
*
|
||||
* @return Collection
|
||||
*/
|
||||
public function findAllPublic()
|
||||
{
|
||||
$dql = 'SELECT f FROM Entities\Feed f
|
||||
WHERE f.public = true
|
||||
ORDER BY f.updated_on DESC';
|
||||
|
||||
$query = $this->_em->createQuery($dql);
|
||||
|
||||
return $query->getResult();
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the given feed if the user can access to it.
|
||||
*
|
||||
|
Reference in New Issue
Block a user