danw
committed
on 27 May 01
cleanup of db api queries