@@ 219-223 (lines=5) @@ | ||
216 | ||
217 | $migrations = $this->find_migrations($type); |
|
218 | ||
219 | if ($target_version > 0 && ! isset($migrations[$target_version])) |
|
220 | { |
|
221 | $this->_error_string = sprintf($this->lang->line('migration_not_found'), $target_version); |
|
222 | return FALSE; |
|
223 | } |
|
224 | ||
225 | if ($target_version > $current_version) |
|
226 | { |
@@ 212-216 (lines=5) @@ | ||
209 | ||
210 | $migrations = $this->find_migrations(); |
|
211 | ||
212 | if ($target_version > 0 && ! isset($migrations[$target_version])) |
|
213 | { |
|
214 | $this->_error_string = sprintf($this->lang->line('migration_not_found'), $target_version); |
|
215 | return FALSE; |
|
216 | } |
|
217 | ||
218 | if ($target_version > $current_version) |
|
219 | { |