If a permit
for work was issued prior to the effective date of this code or, if no permit
was necessary, work was commenced prior to such effective date, all of the provisions of chapter 1
of title 27 of the administrative code as heretofore
in effect shall apply to such work.