Remove obselete cms startup code