DIRACGrid/DIRAC — pull request #1172 by remenska (2013-01-18 13:45:30+00:00)
Title: Stager fix

Fix: FIX: When removing unlinked replicas, take into account the case where a
staging request had been submitted, but the staging failed for various
reasons (inconsistency between SRM database and actual storage, SE
banned after request was submitted etc).

These unlinked replicas were not cleaned from the DB, only the ones with
expired pin time, or a missing staging request.