The plaintiff, assignee of various persons who-had, as guardians, executors, or administrators, paid to the treasurer of the city and county of San Francisco fees upon filing inventories and appraisements, brought this action to recover the amounts so paid. The act under which the county clerk had exacted the payments was unconstitutional, as held by this court in a case decided after the payment of the fees, here involved.
(Fatjo
v.
Pfister, 117
Cal. 83, [
Upon the return of the case to the superior court the defendant, by leave of court, amended its answer by adding'a plea that the action and each count thereof was barred by the provisions of subdivision 1 of section 339 of the Code of Civil Procedure. Before such amendment the answer had consisted of denials of certain allegations of the complaint (including, inter alia, a denial of the assignments to plaintiff), and also of' a separate defense that the causes of action were barred by the provisions of section 90 of the Consolidation Act, the organic-act governing the city and county of San Francisco at the-time the action was commenced. (Stats. 1856, p. 145.)
The findings showed that the respective claims had been assigned to plaintiff, -but coupled this with a further finding, to • which we shall refer more particularly hereafter. It was found that none of the claims had been presented to or allowed by the board of supervisors in the manner or within the time specified by said section 90. The findings further showed that with respect to seven of the claims involved, payment had been made to the treasurer more than two but less than three-years before the commencement of the action. As to these • *765 the court concluded that the bar of subdivision 1 of section 339 of the Code of Civil Procedure, applied. Judgment was given in favor of plain-tiff for the amount of the claims not so barred.
From this judgment both parties appeal, the plaintiff from the portion of the judgment denying him a recovery on the seven claims held to be within the operation of section 339, and the defendant from so much of the judgment as gave plaintiff a recovery on the remaining claims. Both appeals are on the judgment-roll.
The defendant’s principal contention is that the plaintiff should have been denied any relief by reason of the failure to comply with the requirements of section 90 of the Consolidation Act.
At the outset it may be said that there is no merit in the plaintiff’s contention that the question of the applicability of said section 90 is foreclosed by the decision on the former appeal in this case. The argument is that this court held on the first appeal that the complaint, which contains no allegation of compliance with the terms of this section, stated a cause of action. If the section be applicable, an allegation of such compliance is, as is claimed, a necessary part of the complaint, and it is therefore said to be “the law of the case” that claims of the kind here involved are not within the provisions of section 90. But the doctrine of the law of the case is limited to rulings upon questions which were actually presented and considered upon the former appeal.
(Anderson
v.
Hancock,
Section 90 of the Consolidation Act reads as follows: “The salaries, fees and compensation of all officers, including police *766 men and employees of all classes, and all teachers in common schools or others, employed at fixed wages, shall be payable monthly; and any demand whatsoever upon the treasury hereafter accruing, shall not be paid, but shall be forever barred by limitation of time, unless the same be presented for payment properly audited, within one month after such demand became due and payable; or if it be a demand which has to be passed and approved by the board of supervisors or board of education, then within one month after the regular session of the proper board, held next after the demand accrued, . .
If this section stood alone there might be good ground for the contention that its effect was to bar a claimant who had not complied with its provisions from recovering upon a demand of any character upon the treasury. But it is only one of a. number of sections contained in the article of the Consolidation Act dealing with the subjects of finance and revenue, and an examination of this article as a whole (art. VI; Stats. 1856, pp. 167-175) shows that section 90 was not intended to have-the broad scope which might be indicated by some of its terms. This court has on several occasions been called upon to consider the effect of the various sections of the Consolidation Act governing the auditing, allowance, and payment of claims, against the treasury of the city and county of San Francisco. The result of the decisions has been to establish the rule that the requirement of presentation to and allowance by the various-officers and boards of the municipality applies only to such claims as are by the terms of the Consolidation Act itself made payable out of the treasury of the city and county. This construction, with the reasons leading to it, is very clearly set forth by Thornton, J„ in his concurring opinion in
Ex parte Reis,
We think the rule established by these cases is applicable here. The city and county exacted from the plaintiff’s assignors and holds in its treasury, moneys to which it had no legal or equitable right. •• The plaintiff is entitled to recover the amount so paid.
(Trower
v.
City and County of San Francisco,
The defendant relies strongly upon our decision in
Farmers etc. Bank
v.
City of Los Angeles,
The defendant makes a further point with reference to the assignments of the various claims to the plaintiff. The finding is that the claim for the return of each of said sums was duly assigned to plaintiff by the person or persons as executors or administrators or guardians of each estate on behalf of which the payment had been made, but that none of said executors, administrators or guardians procured from the superior court having jurisdiction of the probating of the estate an order authorizing the execution of an assignment of the claim to plaintiff. The assignments are claimed to be invalid under section 1517 of the Code of Civil Procedure which provides that “no sale of any property of an estate of a decedent is valid unless made under order of the superior court . . . All sales must be . . . confirmed by the court before the title . . . passes.” We think this section has no application here. We may assume, if the assumption be necessary to make the judgment comport with the findings, that the assignments to plaintiff were made for collection merely. It may be doubted whether such assignments are “sales” within the meaning of the code section. But even if they be so regarded, the claims in question were not a part of the property of the estates of the respective decedents. In each instance the executor or administrator had,- after his. appointment, made a payment which was unauthorized by law. It must be presumed that the probate court refused to give to such executors or administrators credit for. these payments in their accounts. The payments were chargeable to them individually. They, therefore, had the right to recover them in their individual capacities, and the corresponding right to make assignments.-
On plaintiff’s appeal, the first point made is that the court erred in permitting the defendant, after the reversal of the first judgment, and after the cause had, on the second hearing, been submitted, to amend its answer by pleading section 339
*769
in bar of the action. It is, however, thoroughly settled that the granting or refusing of leave to amend an answer, where leave is required, is a matter committed to the sound discretion of the trial court. This is true of amendments for the purpose of setting up the statute of limitations, as well as other amendments. The cases cited by plaintiff
(Cooke
v.
Spears,
We think it clear that the action was one governed by the statute of limitations so pleaded. (Code Civ. Proc., sec. 339, subd. 1.) As we have said, in discussing defendant’s appeal, the action is one to recover moneys unjustly exacted and retained by defendant. It is assumpsit for money had and -.received, and, therefore, an action “upon a contract, obligation •or liability not founded upon an instrument in writing.” The plaintiff seeks to base his right of recovery upon the terms of ■section 3804 of the Political Code, and claims, accordingly, that the suit was properly begun within three years, the period of limitation for “an action upon a liability created by ■statute.” But section 3804 has reference only to claims based upon the payment of illegal or excessive taxes, penalties, or •costs pursuant to an assessment of property under the provisions of title IX of the Political Code. This is apparent, not only from the language of the section itself, but from its loca•tion with reference to other code sections.
(O’Brien
v.
County of Colusa,
The judgment is affirmed.
Shaw, J., and Angellotti, J., concurred.
