mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[ticket/11574] Create phpbb_log object before using it.
PHPBB3-11574
This commit is contained in:
parent
fcf3437338
commit
14ff1ef540
1 changed files with 3 additions and 0 deletions
|
@ -509,6 +509,9 @@ class install_update extends module
|
||||||
|
|
||||||
if ($all_up_to_date)
|
if ($all_up_to_date)
|
||||||
{
|
{
|
||||||
|
global $phpbb_log, $phpbb_container;
|
||||||
|
$phpbb_log = $phpbb_container->get('log');
|
||||||
|
|
||||||
// Add database update to log
|
// Add database update to log
|
||||||
add_log('admin', 'LOG_UPDATE_PHPBB', $this->current_version, $this->update_to_version);
|
add_log('admin', 'LOG_UPDATE_PHPBB', $this->current_version, $this->update_to_version);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue