Skip to content

Commit

Permalink
[AIDAPP-319]: Feature Flag Cleanup: ServiceRequestTypeNotifications (#…
Browse files Browse the repository at this point in the history
…292)

* Cleanup ServiceRequestTypeNotifications feature flag

* Work on PR suggestion
  • Loading branch information
jayushi-canyon authored Oct 22, 2024
1 parent 81e246a commit c2c1b91
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 103 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@
use Filament\Resources\Pages\EditRecord;
use App\Filament\Forms\Components\Heading;
use App\Filament\Forms\Components\Paragraph;
use App\Features\ServiceRequestTypeNotifications;
use AidingApp\ServiceManagement\Filament\Resources\ServiceRequestTypeResource;

class EditServiceRequestTypeNotifications extends EditRecord
Expand All @@ -51,11 +50,6 @@ class EditServiceRequestTypeNotifications extends EditRecord

protected static ?string $title = 'Notifications';

public static function canAccess(array $parameters = []): bool
{
return ServiceRequestTypeNotifications::active() && parent::canAccess($parameters);
}

public function getRelationManagers(): array
{
// Needed to prevent Filament from loading the relation managers on this page.
Expand Down
47 changes: 0 additions & 47 deletions app/Features/ServiceRequestTypeNotifications.php

This file was deleted.

0 comments on commit c2c1b91

Please sign in to comment.