Remove unused method data in BaseModel

This commit is contained in:
Alfonso Saavedra "Son Link" 2024-11-07 17:12:51 +01:00
parent 0b7be053a4
commit 788e2ff06c
No known key found for this signature in database
GPG Key ID: D3594BCF897F74D8
1 changed files with 0 additions and 10 deletions

View File

@ -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();
}
}