A cannabis farm with 36 plants was discovered by police in Middleton after officers were tipped off by a member of the public.
The drug production site was found in the outhouse of a building at Middleton Park Mount at 8.55am on Sunday.
A 57-year-old man was arrested at the scene and given a conditional caution, West Yorkshire Police said.
In a message on Facebook, the force’s Inner South neighbourhood policing team said officers discovered the farm “after receiving community intelligence that such a set up was ready to be harvested”.
The statement said: “This type of information helps us build a picture about your community and criminals working within it. It also allows us to prevent the drugs from being sold on the streets.
“Please continue to report such information as the accumulation of good intelligence is essential to allow us to take action.”