Page MenuHomePhabricator

D20243.diff
No OneTemporary

D20243.diff

diff --git a/resources/sql/autopatches/20151221.search.3.reindex.php b/resources/sql/autopatches/20151221.search.3.reindex.php
--- a/resources/sql/autopatches/20151221.search.3.reindex.php
+++ b/resources/sql/autopatches/20151221.search.3.reindex.php
@@ -1,11 +1,3 @@
<?php
-$table = new PhabricatorOwnersPackage();
-
-foreach (new LiskMigrationIterator($table) as $package) {
- PhabricatorSearchWorker::queueDocumentForIndexing(
- $package->getPHID(),
- array(
- 'force' => true,
- ));
-}
+// This was an old reindexing migration that has been obsoleted. See T13253.
diff --git a/resources/sql/autopatches/20160221.almanac.2.devicei.php b/resources/sql/autopatches/20160221.almanac.2.devicei.php
--- a/resources/sql/autopatches/20160221.almanac.2.devicei.php
+++ b/resources/sql/autopatches/20160221.almanac.2.devicei.php
@@ -1,11 +1,3 @@
<?php
-$table = new AlmanacDevice();
-
-foreach (new LiskMigrationIterator($table) as $device) {
- PhabricatorSearchWorker::queueDocumentForIndexing(
- $device->getPHID(),
- array(
- 'force' => true,
- ));
-}
+// This was an old reindexing migration that has been obsoleted. See T13253.
diff --git a/resources/sql/autopatches/20160221.almanac.4.servicei.php b/resources/sql/autopatches/20160221.almanac.4.servicei.php
--- a/resources/sql/autopatches/20160221.almanac.4.servicei.php
+++ b/resources/sql/autopatches/20160221.almanac.4.servicei.php
@@ -1,11 +1,3 @@
<?php
-$table = new AlmanacService();
-
-foreach (new LiskMigrationIterator($table) as $service) {
- PhabricatorSearchWorker::queueDocumentForIndexing(
- $service->getPHID(),
- array(
- 'force' => true,
- ));
-}
+// This was an old reindexing migration that has been obsoleted. See T13253.
diff --git a/resources/sql/autopatches/20160221.almanac.6.networki.php b/resources/sql/autopatches/20160221.almanac.6.networki.php
--- a/resources/sql/autopatches/20160221.almanac.6.networki.php
+++ b/resources/sql/autopatches/20160221.almanac.6.networki.php
@@ -1,11 +1,3 @@
<?php
-$table = new AlmanacNetwork();
-
-foreach (new LiskMigrationIterator($table) as $network) {
- PhabricatorSearchWorker::queueDocumentForIndexing(
- $network->getPHID(),
- array(
- 'force' => true,
- ));
-}
+// This was an old reindexing migration that has been obsoleted. See T13253.
diff --git a/resources/sql/autopatches/20160227.harbormaster.2.plani.php b/resources/sql/autopatches/20160227.harbormaster.2.plani.php
--- a/resources/sql/autopatches/20160227.harbormaster.2.plani.php
+++ b/resources/sql/autopatches/20160227.harbormaster.2.plani.php
@@ -1,11 +1,3 @@
<?php
-$table = new HarbormasterBuildPlan();
-
-foreach (new LiskMigrationIterator($table) as $plan) {
- PhabricatorSearchWorker::queueDocumentForIndexing(
- $plan->getPHID(),
- array(
- 'force' => true,
- ));
-}
+// This was an old reindexing migration that has been obsoleted. See T13253.
diff --git a/resources/sql/autopatches/20160303.drydock.2.bluei.php b/resources/sql/autopatches/20160303.drydock.2.bluei.php
--- a/resources/sql/autopatches/20160303.drydock.2.bluei.php
+++ b/resources/sql/autopatches/20160303.drydock.2.bluei.php
@@ -1,11 +1,3 @@
<?php
-$table = new DrydockBlueprint();
-
-foreach (new LiskMigrationIterator($table) as $blueprint) {
- PhabricatorSearchWorker::queueDocumentForIndexing(
- $blueprint->getPHID(),
- array(
- 'force' => true,
- ));
-}
+// This was an old reindexing migration that has been obsoleted. See T13253.
diff --git a/resources/sql/autopatches/20160308.nuance.04.sourcei.php b/resources/sql/autopatches/20160308.nuance.04.sourcei.php
--- a/resources/sql/autopatches/20160308.nuance.04.sourcei.php
+++ b/resources/sql/autopatches/20160308.nuance.04.sourcei.php
@@ -1,11 +1,3 @@
<?php
-$table = new NuanceSource();
-
-foreach (new LiskMigrationIterator($table) as $source) {
- PhabricatorSearchWorker::queueDocumentForIndexing(
- $source->getPHID(),
- array(
- 'force' => true,
- ));
-}
+// This was an old reindexing migration that has been obsoleted. See T13253.
diff --git a/resources/sql/autopatches/20160406.badges.ngrams.php b/resources/sql/autopatches/20160406.badges.ngrams.php
--- a/resources/sql/autopatches/20160406.badges.ngrams.php
+++ b/resources/sql/autopatches/20160406.badges.ngrams.php
@@ -1,11 +1,3 @@
<?php
-$table = new PhabricatorBadgesBadge();
-
-foreach (new LiskMigrationIterator($table) as $badge) {
- PhabricatorSearchWorker::queueDocumentForIndexing(
- $badge->getPHID(),
- array(
- 'force' => true,
- ));
-}
+// This was an old reindexing migration that has been obsoleted. See T13253.
diff --git a/resources/sql/autopatches/20160927.phurl.ngrams.php b/resources/sql/autopatches/20160927.phurl.ngrams.php
--- a/resources/sql/autopatches/20160927.phurl.ngrams.php
+++ b/resources/sql/autopatches/20160927.phurl.ngrams.php
@@ -1,11 +1,3 @@
<?php
-$table = new PhabricatorPhurlURL();
-
-foreach (new LiskMigrationIterator($table) as $url) {
- PhabricatorSearchWorker::queueDocumentForIndexing(
- $url->getPHID(),
- array(
- 'force' => true,
- ));
-}
+// This was an old reindexing migration that has been obsoleted. See T13253.
diff --git a/resources/sql/autopatches/20161011.conpherence.ngrams.php b/resources/sql/autopatches/20161011.conpherence.ngrams.php
--- a/resources/sql/autopatches/20161011.conpherence.ngrams.php
+++ b/resources/sql/autopatches/20161011.conpherence.ngrams.php
@@ -1,11 +1,3 @@
<?php
-$table = new ConpherenceThread();
-
-foreach (new LiskMigrationIterator($table) as $thread) {
- PhabricatorSearchWorker::queueDocumentForIndexing(
- $thread->getPHID(),
- array(
- 'force' => true,
- ));
-}
+// This was an old reindexing migration that has been obsoleted. See T13253.
diff --git a/resources/sql/autopatches/20161216.dashboard.ngram.02.php b/resources/sql/autopatches/20161216.dashboard.ngram.02.php
--- a/resources/sql/autopatches/20161216.dashboard.ngram.02.php
+++ b/resources/sql/autopatches/20161216.dashboard.ngram.02.php
@@ -1,21 +1,3 @@
<?php
-$table_db = new PhabricatorDashboard();
-
-foreach (new LiskMigrationIterator($table_db) as $dashboard) {
- PhabricatorSearchWorker::queueDocumentForIndexing(
- $dashboard->getPHID(),
- array(
- 'force' => true,
- ));
-}
-
-$table_dbp = new PhabricatorDashboardPanel();
-
-foreach (new LiskMigrationIterator($table_dbp) as $panel) {
- PhabricatorSearchWorker::queueDocumentForIndexing(
- $panel->getPHID(),
- array(
- 'force' => true,
- ));
-}
+// This was an old reindexing migration that has been obsoleted. See T13253.
diff --git a/resources/sql/autopatches/20170526.milestones.php b/resources/sql/autopatches/20170526.milestones.php
--- a/resources/sql/autopatches/20170526.milestones.php
+++ b/resources/sql/autopatches/20170526.milestones.php
@@ -1,11 +1,3 @@
<?php
-$table = new PhabricatorProject();
-
-foreach (new LiskMigrationIterator($table) as $project) {
- PhabricatorSearchWorker::queueDocumentForIndexing(
- $project->getPHID(),
- array(
- 'force' => true,
- ));
-}
+// This was an old reindexing migration that has been obsoleted. See T13253.
diff --git a/resources/sql/autopatches/20171026.ferret.05.ponder.index.php b/resources/sql/autopatches/20171026.ferret.05.ponder.index.php
--- a/resources/sql/autopatches/20171026.ferret.05.ponder.index.php
+++ b/resources/sql/autopatches/20171026.ferret.05.ponder.index.php
@@ -1,11 +1,3 @@
<?php
-$table = new PonderQuestion();
-
-foreach (new LiskMigrationIterator($table) as $question) {
- PhabricatorSearchWorker::queueDocumentForIndexing(
- $question->getPHID(),
- array(
- 'force' => true,
- ));
-}
+// This was an old reindexing migration that has been obsoleted. See T13253.

File Metadata

Mime Type
text/plain
Expires
Sat, Mar 15, 2:49 PM (1 w, 22 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7692595
Default Alt Text
D20243.diff (7 KB)

Event Timeline