database: make Block also remove packages in newCrawl and search index

The method was used in the gddo-admin block command. It adds the URL
to the blocked list and removes everything under that URL from the
database. To make it useful, this change should also remove anything
under the URL from the newCrawl queue and the App Engine search index.

Change-Id: I02020801556418616f6628dca9afa39db09ad88f
Reviewed-by: Dmitri Shuralyov <>
1 file changed