mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-13 04:53:26 +00:00
Remove dead code
This commit is contained in:
@@ -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