diff --git a/app/Models/BaseModel.php b/app/Models/BaseModel.php index 0a28393..82d4cba 100644 --- a/app/Models/BaseModel.php +++ b/app/Models/BaseModel.php @@ -12,14 +12,4 @@ class BaseModel extends Model protected $validationRules = []; protected $validationMessages = []; protected $skipValidation = false; - - public function data($id) - { - $builder = $this->builder(); - $builder->where('id', $id); - - $query = $builder->get(1); - - if ($query) return $query->getRow(); - } }