If you share a fence with a neighbor, California law (Civil Code section 841) now says that you are equally responsible for maintenance, repair and replacement of that fence.  There may be extenuating circumstances which will permit a Court to allocate responsibility otherwise.

See full statute broken into neighborly sections:

      Good Neighbor Fence Act of 2014 FYI