Any court in which is pending any case wherein for more than one year there has been no order or proceeding but to continue it, or wherein the plaintiff is delinquent in the payment of accrued court costs, may, in its discretion, order such case to be struck from its docket; and it shall thereby be discontinued. A court making such order may direct it to be published in such newspaper as it may name.