Skip to content

Commit

Permalink
Replaced files from Entity-feature
Browse files Browse the repository at this point in the history
  • Loading branch information
temaotl committed Jul 24, 2024
1 parent dc87aa2 commit bab766b
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions app/Models/Entity.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
namespace App\Models;

use App\Enums\EntityType;
use App\Events\CreateEntity;
use App\Events\UpdateEntity;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
Expand Down Expand Up @@ -92,10 +90,4 @@ public function scopeSearch($query, ?string $search = null)
->orWhere('description_en', 'like', "%$search%")
->orWhere('description_cs', 'like', "%$search%");
}

protected $dispatchesEvents = [
'created' => CreateEntity::class,
'updated' => UpdateEntity::class,

];
}

0 comments on commit bab766b

Please sign in to comment.