Plaintiff sued the city of Los Angeles for a declaration of his rights under the building and plumbing codes of the city, and for an injunction restraining the city from enforcing them against him. The city cross-complained for an injunction requiring plaintiff to comply with the codes. The judgment was for the city on the cross-complaint. Plaintiff appeals from the judgment and from an order denying his motion for a new trial. Since the latter order is nonappealable, the appeal therefrom will be dismissed.
Plaintiff owns a parcel of realty in fire district No. 2 in Los Angeles, which is improved with a two-story brick building. Without first obtaining a permit from the Department of Building and Safety, he constructed about a 25-foot square carport in the rear yard. It consisted of a framework of pipes and scantlings covered with a flammable tarpaulin. With the intention of constructing a rest room as an addition to his building, plaintiff roughed in the waste lines in the rear yard for two toilets. After completing this preliminary step, the project was either abandoned or postponed. No toilets were installed nor was the site enclosed or protected by a roof. Plaintiff stuffed plaster of Paris into the sewer openings.
The building code of the city required a construction permit for every structure, and required the roof covering of every building or structure in fire district No. 2 to be fire retardant, the exterior walls to be constructed entirely of incombustible materials or it least one-hour fire-resistive construction. The plumbing code required that toilet bends, unconnected to a fixture, should be securely capped with a standard cast iron or other metallic noncorrosive plug, and that the plug should be securely leaded and caulked in place under the supervision of a plumbing inspector.
The court found that the carport did not conform to the requirements of the building code, and that the maintenance of the toilet bends was in violation of the plumbing code. The judgment directed plaintiff to remove all canvas and tarpaulin material from the carport, and enjoined him from maintaining *810 it without first securing a permit from the city for the construction of the structure and without constructing it in accordance with the building code, and ordered him either to remove the toilet bends, and plug, cover, and conceal the sewer connections in accordance with the plumbing code, or under the supervision of a city plumbing inspector to securely lead and caulk the openings as provided by the code, or to install flush toilets as provided by the code.
Plaintiff contends the applicable ordinances are not within the police power; that they deprive him of his property without due process of law in that they restrain his free use of the property, and that they deny him the equal protection of the laws.
Plaintiff’s property is located in a fire district as fixed by an ordinance of the city. It is elementary that reasonable regulations governing the construction of wooden buildings within fire limits and governing methods and devices for the conveyance of sewage from private dwellings in municipalities, are within the police power.
(Maguire
v.
Reardon,
“ [E]xcept where the court can see, in the light of facts properly brought to its knowledge, that a given police regulation has no just relation to the object which it purports to carry out, and no reasonable tendency to preserve or protect the public safety, health, comfort, or morals, the decision of the legislative body as to the necessity or reasonableness of the regulation in question is conclusive.”
(Odd Fellows’ Cemetery Assn.
v.
San Francisco,
“Regulation by ordinance of methods and devices for the conveyance of sewage from private dwellings in municipalities is recognized as an exercise of that branch of the police power which pertains to the public health; and the word ‘plumbing’ is held to include the pipes, fittings and fixtures for the conveyance of such sewage.”
(In re Nicholls,
Plaintiff’s principal complaint appears to be that while the city ordinances forbid him to construct or maintain a canvas carport they permit his neighbor to continue to maintain an old wooden building as to which there was no evidence that it was not erected in conformity with ordinances then existing. The Legislature may guard against the creation or extension of threatened evils without undertaking to wipe out every similar existing evil where a more sweeping enactment would work undue hardship. In
Matter of Stoltenberg,
A small entryway had been attached to the rear wall of plaintiff’s building. The pleadings made an issue of whether it had been constructed in violation of the city building ordinances. No evidence was received from which the court could determine the exact date it was built or what the requirements of the building ordinances were at that time. Consequently, the court did not undertake to settle any issue about this addition and granted no relief to either side. Since the court did not make any declaration relative to the entryway, the matter is moot.
The ordinances attacked are directed to the preservation of the public safety and health, and are well within the scope of the police power.
The appeal from the order denying a new trial is dismissed. The judgment is affirmed.
Shinn, P. J., and Wood (Parker), J., concurred.
