migrate \OC\AllConfig to \OCP\IConfig