I don’t recall that code changing between OCS 2.3.4 and 2.3.6; did you extract your modifications from the system using “diff” to compare your 2.3.4 install against the distribution version of OCS 2.3.4? I suspect you’ll have better luck if you use diff and patch to migrate your changes.
Regards,
Alec Smecher
Public Knowledge Project Team