CakeDC/migrations — pull request #88 by damien-biasotto (2012-09-19 09:38:00+00:00)
Title: Fix an isssue when using a migration with a different datasource 

The issue was implied by the use of a duplicated code.

At the end of _clearCache() method, the code is the same than the one in MigrationVersion::__construct() method.

Indeed in CakeMigration::_clearCache(), the new instance of Migrations.SchemaMigration, use the CakeMigration::connection attribute instead of MigrationVersion one.