removed dead code Database::ownsNS #759

fixes #759