In the absence or inability of the superintendent, the deputy superintendent of the institution shall, so far as relates to the discipline thereof, perform the duties of the superintendent.