Student disciplined for taking BB gun, knives to school