// If we make it to here, the profile module isn't installed.
throw new RequirementsException('Profile module not enabled on source site'
);
} parent::
checkRequirements();
} /**
* Helper to set the profile field table names.
*/
protected function setTableNames() { if (empty($this->fieldTable
) ||
empty($this->valueTable
)) { if ($this->
getModuleSchemaVersion('system'
) >= 7000
) { $this->fieldTable = 'profile_field';
$this->valueTable = 'profile_value';
} else { $this->fieldTable = 'profile_fields';
$this->valueTable = 'profile_values';
} } }}