public function getPasswordHashMethod()
{
$HashMethod = val('HashMethod', $this->GetImportHeader());
if ($HashMethod) {
return $HashMethod;
}
$Source = val('Source', $this->GetImportHeader());
if (!$Source) {
return 'Unknown';
}
if (substr_compare('Vanilla', $Source, 0, 7, false) == 0) {
return 'Vanilla';
}
if (substr_compare('vBulletin', $Source, 0, 9, false) == 0) {
return 'vBulletin';
}
if (substr_compare('phpBB', $Source, 0, 5, false) == 0) {
return 'phpBB';
}
return 'Unknown';
}