This is about banning phones during class or school hours. Even though the war on drugs may have failed the general populace, the prohibition of drugs at schools has been largely successful in preventing drug use from taking place in classrooms and on school property. (the same with smoking bans at schools)
This is the same.