mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-16 14:33:14 +00:00
Remove dead code
This commit is contained in:
@@ -1079,7 +1079,7 @@ class User_Adapter implements User_Interface, cache_cacheableInterface
|
||||
|
||||
protected function load_notifications_preferences(Application $app)
|
||||
{
|
||||
$notifications = $app['events-manager']->list_notifications_available($this->id);
|
||||
$notifications = $app['events-manager']->list_notifications_available();
|
||||
|
||||
foreach ($notifications as $notification_group => $nots) {
|
||||
foreach ($nots as $notification) {
|
||||
|
@@ -266,8 +266,6 @@ class User_Query implements User_QueryInterface
|
||||
$sql .= $this->generate_field_constraints('lastModel', $this->templates);
|
||||
}
|
||||
|
||||
$baslist = array();
|
||||
|
||||
if (count($this->base_ids) == 0) {
|
||||
if ($this->bases_restrictions)
|
||||
throw new Exception('No base available for you, not enough rights');
|
||||
|
Reference in New Issue
Block a user