Merge pull request #2381 from Nicofuma/ticket/12475

[ticket/12475] Undefined variable $log in db:migrate console command

* Nicofuma/ticket/12475:
  [ticket/12475] Error in db:update console command
This commit is contained in:
Andreas Fischer 2014-05-02 19:50:05 +02:00
commit ab1c181620

View file

@ -103,7 +103,7 @@ class migrate extends \phpbb\console\command\command
if ($orig_version != $this->config['version'])
{
$log->add('admin', 'LOG_UPDATE_DATABASE', $orig_version, $this->config['version']);
$this->log->add('admin', 'LOG_UPDATE_DATABASE', $orig_version, $this->config['version']);
}
$this->finalise_update();