Author: david
Date: Fri May 4 15:58:09 2012
New Revision: 11639
Log:
Fix bug I introduced in r11613 that prevented upgrading for from versions
before Release 1.0.8
Modified:
trunk/lib/task/migrate/MigrateTask.class.php
Modified: trunk/lib/task/migrate/MigrateTask.class.php
==============================================================================
--- trunk/lib/task/migrate/MigrateTask.class.php Fri May 4 14:29:15
2012 (r11638)
+++ trunk/lib/task/migrate/MigrateTask.class.php Fri May 4 15:58:09
2012 (r11639)
@@ -144,10 +144,6 @@
$this->targetVersion = $options['target-version'];
}
}
- else
- {
- $this->targetVersion = self::FINAL_VERSION;
- }
// At version 1.0.8 we switched from versioning by release to fine-grained
// versions (integer)
@@ -224,13 +220,12 @@
{
$this->version = $this->initialVersion;
}
-
else
{
$this->version = 0;
}
- while (null !== $this->version && (null === $this->targetVersion ||
$this->targetVersion > $this->version))
+ while (self::FINAL_VERSION > $this->version && (null ===
$this->targetVersion || $this->targetVersion > $this->version))
{
$migrator = QubitMigrateFactory::getMigrator($this->data,
$this->version);
--
You received this message because you are subscribed to the Google Groups
"Qubit Toolkit Commits" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/qubit-commits?hl=en.