aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/install/install_update.php
diff options
context:
space:
mode:
authorMate Bartus <mate.bartus@gmail.com>2015-07-24 09:20:50 +0200
committerMate Bartus <mate.bartus@gmail.com>2015-10-17 23:05:57 +0200
commit8f5a0ad6f73e7b7757b02c827436384c96069b5a (patch)
tree87a16ddaa2f645d62728f0b4543199e43995bfeb /phpBB/install/install_update.php
parentf1047ac854baba4d1015cd9a555a523b3860f2c9 (diff)
downloadforums-8f5a0ad6f73e7b7757b02c827436384c96069b5a.tar
forums-8f5a0ad6f73e7b7757b02c827436384c96069b5a.tar.gz
forums-8f5a0ad6f73e7b7757b02c827436384c96069b5a.tar.bz2
forums-8f5a0ad6f73e7b7757b02c827436384c96069b5a.tar.xz
forums-8f5a0ad6f73e7b7757b02c827436384c96069b5a.zip
[ticket/14039] Revamp updater
PHPBB3-14039
Diffstat (limited to 'phpBB/install/install_update.php')
-rw-r--r--phpBB/install/install_update.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/phpBB/install/install_update.php b/phpBB/install/install_update.php
index d9ba2e7fe9..2f8fd71c54 100644
--- a/phpBB/install/install_update.php
+++ b/phpBB/install/install_update.php
@@ -1115,7 +1115,7 @@ class install_update extends module
*/
function show_diff(&$update_list)
{
- global $phpbb_root_path, $template, $user, $request, $phpbb_adm_relative_path;
+ global $phpbb_root_path, $template, $user, $request;
$this->tpl_name = 'install_update_diff';
@@ -1669,10 +1669,9 @@ class install_update extends module
*/
function get_file($mode)
{
- global $user, $db;
+ global $user;
$errstr = '';
- $errno = 0;
switch ($mode)
{