API-ow_syntrans: fixed broken part parameter.

removing unnecessary code strings is good. But one got away, so the
current part parameter does not do anything. Whether you want to get
'syn' or 'trans', both returns 'all'. fixed.

Change-Id: I4f44a90b67b80c30f4622d285ebfc0869036abe5