Kidney stones can form when substances in the urine—such as calcium, oxalate, and phosphorus—become highly concentrated. Diet is one of several factors that can promote or inhibit kidney stone formation. Certain foods may promote stone formation in people who are susceptible, but scientists do not believe that eating any specific food causes stones to form in people who are not susceptible. Other factors that affect kidney stone formation include genes, environment, body weight, and fluid intake.
Read more here: http://www.niddk.nih.gov/health-information/health-topics/urologic-disease/diet-for-kidney-stone-prevention/Pages/facts.aspx