update fix deadcode, security
This commit is contained in:
@@ -20,11 +20,6 @@ abstract class BaseRepository implements BaseRepositoryInterface
|
||||
{
|
||||
return $this->model->create($data);
|
||||
}
|
||||
|
||||
public function getAll()
|
||||
{
|
||||
return $this->model->all();
|
||||
}
|
||||
public function find($id)
|
||||
{
|
||||
return $this->model->find($id);
|
||||
@@ -59,8 +54,4 @@ abstract class BaseRepository implements BaseRepositoryInterface
|
||||
|
||||
return false;
|
||||
}
|
||||
public function getCount()
|
||||
{
|
||||
return $this->model->count('id');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user