Changeset View
Changeset View
Standalone View
Standalone View
resources/sql/autopatches/20150602.mlist.2.php
Show All 34 Lines | if (!$collision) { | ||||
$username_okay = true; | $username_okay = true; | ||||
break; | break; | ||||
} | } | ||||
} | } | ||||
if (!$username_okay) { | if (!$username_okay) { | ||||
echo pht( | echo pht( | ||||
'Failed to migrate mailing list "%s": unable to generate a unique '. | 'Failed to migrate mailing list "%s": unable to generate a unique '. | ||||
'username for it.')."\n"; | 'username for it.', | ||||
$name)."\n"; | |||||
continue; | continue; | ||||
} | } | ||||
$username = $effective_username; | $username = $effective_username; | ||||
if (!PhabricatorUser::validateUsername($username)) { | if (!PhabricatorUser::validateUsername($username)) { | ||||
echo pht( | echo pht( | ||||
'Failed to migrate mailing list "%s": unable to generate a valid '. | 'Failed to migrate mailing list "%s": unable to generate a valid '. | ||||
'username for it.', | 'username for it.', | ||||
▲ Show 20 Lines • Show All 94 Lines • Show Last 20 Lines |