Remove possibly dead code for searching all data types

The following discussion from !17991 (merged) should be addressed:

  • @DylanGriffith started a discussion: (+2 comments)

    When is this necessary to query for :all of these? I'm not aware of any way in GitLab to trigger this.

Assignee Loading
Time tracking Loading