When neither consul was within the city , their civic duties were assumed by the praetor urbanus .
When neither consul was within the city , their civic duties were assumed by the praetor urbanus ( city prefect ) .