Changeset View
Changeset View
Standalone View
Standalone View
resources/sql/patches/20130611.nukeldap.php
<?php | <?php | ||||
$table = new PhabricatorUser(); | $table = new PhabricatorUser(); | ||||
$conn = $table->establishConnection('w'); | $conn = $table->establishConnection('w'); | ||||
$table_name = 'user_ldapinfo'; | $table_name = 'user_ldapinfo'; | ||||
foreach (new LiskRawMigrationIterator($conn, $table_name) as $row) { | foreach (new LiskRawMigrationIterator($conn, $table_name) as $row) { | ||||
throw new Exception( | throw new Exception( | ||||
pht( | pht( | ||||
'Your Phabricator install has ancient LDAP account data and is '. | 'This database has ancient LDAP account data and is too old to upgrade '. | ||||
'too old to upgrade directly to a modern version of Phabricator. '. | 'directly to a modern version of the software. Upgrade to a version '. | ||||
'Upgrade to a version released between June 2013 and February 2019 '. | 'released between June 2013 and February 2019 first, then upgrade to a '. | ||||
'first, then upgrade to a modern version.')); | 'modern version.')); | ||||
} | } |
Content licensed under Creative Commons Attribution-ShareAlike 4.0 (CC-BY-SA) unless otherwise noted; code licensed under Apache 2.0 or other open source licenses. · CC BY-SA 4.0 · Apache 2.0