aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/install/database_update.php
diff options
context:
space:
mode:
authorIgor Wiedler <igor@wiedler.ch>2012-11-10 11:25:22 +0100
committerIgor Wiedler <igor@wiedler.ch>2012-11-10 11:25:22 +0100
commit195014867ae84fe04ec01c913e38bf1d435590f7 (patch)
tree2a8264f69a801264a9912828e572782e28a2a897 /phpBB/install/database_update.php
parent957508c8b1a71c603c31728dfab79640554c541e (diff)
downloadforums-195014867ae84fe04ec01c913e38bf1d435590f7.tar
forums-195014867ae84fe04ec01c913e38bf1d435590f7.tar.gz
forums-195014867ae84fe04ec01c913e38bf1d435590f7.tar.bz2
forums-195014867ae84fe04ec01c913e38bf1d435590f7.tar.xz
forums-195014867ae84fe04ec01c913e38bf1d435590f7.zip
[ticket/11183] Remove $load_extensions and weird dl() calls
PHPBB3-11183
Diffstat (limited to 'phpBB/install/database_update.php')
-rw-r--r--phpBB/install/database_update.php17
1 files changed, 3 insertions, 14 deletions
diff --git a/phpBB/install/database_update.php b/phpBB/install/database_update.php
index 527108af08..dcdd17cbc0 100644
--- a/phpBB/install/database_update.php
+++ b/phpBB/install/database_update.php
@@ -73,17 +73,6 @@ if (!defined('PHPBB_INSTALLED') || empty($dbms) || empty($acm_type))
die("Please read: <a href='../docs/INSTALL.html'>INSTALL.html</a> before attempting to update.");
}
-// Load Extensions
-if (!empty($load_extensions) && function_exists('dl'))
-{
- $load_extensions = explode(',', $load_extensions);
-
- foreach ($load_extensions as $extension)
- {
- @dl(trim($extension));
- }
-}
-
// Include files
require($phpbb_root_path . 'includes/class_loader.' . $phpEx);
@@ -2716,10 +2705,10 @@ function change_database_data(&$no_updates, $version)
// Create config value for displaying last subject on forum list
if (!isset($config['display_last_subject']))
- {
+ {
$config->set('display_last_subject', '1');
}
-
+
$no_updates = false;
if (!isset($config['assets_version']))
@@ -2752,7 +2741,7 @@ function change_database_data(&$no_updates, $version)
// After we have calculated the timezones we can delete user_dst column from user table.
$db_tools->sql_column_remove(USERS_TABLE, 'user_dst');
}
-
+
if (!isset($config['site_home_url']))
{
$config->set('site_home_url', '');