Security is never perfect. However, a would-be criminal no longer has the guarantee that they'll be able to successfully slip a "reliable" weapon through.
What I mean by reliable is that it intimidates and when necessary can be used multiple times. Who would you rush first, a man with a glass, or a man with a knife?
However, I do agree that used properly one on one a glass would be nasty.