private function checkServicePack() { $this->migrator->send(OCISchemaServiceProvider::ServiceProviderServicePackGetListRequest($this->migrator->getOrigEnterprise())); $this->origSPs = $this->migrator->getResponse()->servicePackName; $this->migrator->send(OCISchemaGroup::GroupServiceGetAuthorizedListRequest($this->migrator->getOrigEnterprise(), $this->migrator->getOrigGroup())); $this->origGSs = $this->migrator->getResponse()->groupServiceName; $this->migrator->send(OCISchemaServiceProvider::ServiceProviderServicePackGetListRequest($this->migrator->getDestEnterprise())); $destSP = $this->migrator->getResponse()->servicePackName; $newArray = array_diff($this->origSPs, $destSP); $missing = false; foreach ($newArray as $key => $value) { $missing = true; echo "Destination Enterprise missing ServicePack: {$value} \n"; } if ($missing) { die("Please correct service packs"); } }