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(
|
2022-04-25 22:04:49 +02:00
|
|
|
'This database has ancient LDAP account data and is too old to upgrade '.
|
|
|
|
'directly to a modern version of the software. 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
|
|
|
}
|