Removes unnecessary line from cache extension

(This method is only called if timeout is not null, so cache expire will never be null)