section 519(2)


519(2) Where the accused complies with an order referred to in paragraph (1)(b) and is not required to be detained in custody in respect of any other matter, the justice who made the order or another justice having jurisdiction shall, unless the accused has been or will be released pursuant to an authorization referred to in that paragraph, issue an order for discharge in Form 39.