| @@ -2,10 +2,8 @@ | ||
| 2 | 2 | |
| 3 | 3 | namespace FluentBooking\App\Http\Controllers; |
| 4 | 4 | |
| 5 | 5 | use FluentBooking\App\Models\Calendar; |
| 6 | -use FluentBooking\App\Models\Meta; | |
| 7 | -use FluentBooking\App\Services\PermissionManager; | |
| 8 | 6 | use FluentBooking\Framework\Http\Request\Request; |
| 9 | 7 | use FluentBooking\App\Services\Helper; |
| 10 | 8 | |
| 11 | 9 | class AdminController extends Controller |
| @@ -37,8 +35,9 @@ | ||
| 37 | 35 | $metaQueryArgs = [ |
| 38 | 36 | 'role__not_in' => ['subscriber'], |
| 39 | 37 | 'number' => 50, |
| 40 | 38 | 'fields' => ['ID', 'user_email', 'display_name'], |
| 39 | + /* phpcs:disable WordPress.DB.SlowDBQuery.slow_db_query_meta_query */ | |
| 41 | 40 | 'meta_query' => [ |
| 42 | 41 | 'relation' => 'OR', |
| 43 | 42 | [ |
| 44 | 43 | 'key' => 'first_name', |