- adding OCP\JSON::checkAppEnabled('external') where needed

refs #1850