2013-06-14 16:04:41 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
$table = new PhabricatorUser();
|
2019-02-06 17:51:42 +01:00
|
|
|
$conn = $table->establishConnection('w');
|
2013-06-14 16:04:41 +02:00
|
|
|
$table_name = 'user_oauthinfo';
|
|
|
|
|
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 OAuth 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-14 16:04:41 +02:00
|
|
|
}
|