(a)
The commission shall deny a gambling license with respect to any gambling establishment that is located in a city, county, or city and county that does not have an ordinance governing all of the following matters:
(1)
The hours of operation of gambling establishments.
(2)
Patron security and safety in and around the gambling establishments.
(3)
The location of gambling establishments.
(4)
Wagering limits in gambling establishments.
(5)
The number of gambling tables in each gambling establishment and in the jurisdiction.
(b)
In any city, county, or city and county in which the local gambling ordinance does not govern the matters specified in subdivision (a), any amendment to the ordinance to govern those matters is not subject to Section 19961, provided that a local election is required to add these matters, and the ordinance only provides for private clubs by vote of the people, and that the ordinance is amended to contain these matters on or before July 1, 2000.