You may be right, that was taken from the other contributed PHP code.