2013-06-16 18:55:55 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
$table = new PhabricatorUser();
|
2019-02-06 17:51:42 +01:00
|
|
|
$conn = $table->establishConnection('w');
|
2013-06-16 18:55:55 +02:00
|
|
|
$table_name = 'user_ldapinfo';
|
|
|
|
|
2019-02-06 17:51:42 +01:00
|
|
|
foreach (new LiskRawMigrationIterator($conn, $table_name) as $row) {
|
|
|
|
throw new Exception(
|
|
|
|
pht(
|
|
|
|
'Your Phabricator install has ancient LDAP account data and is '.
|
|
|
|
'too old to upgrade directly to a modern version of Phabricator. '.
|
|
|
|
'Upgrade to a version released between June 2013 and February 2019 '.
|
|
|
|
'first, then upgrade to a modern version.'));
|
2013-06-16 18:55:55 +02:00
|
|
|
}
|