lang['UPDATING_TO_LATEST_STABLE']; ?>
- -- -
lang['DATABASE_TYPE']; ?> :: sql_layer; ?>
-destroy('#config');
-$config = phpbb_cache::obtain_config();
-
-echo phpbb::$user->lang['PREVIOUS_VERSION'] . ' :: ' . phpbb::$config['version'] . '
';
-echo phpbb::$user->lang['UPDATED_VERSION'] . ' :: ' . $updates_to_version . '
- -
lang['UPDATE_DATABASE_SCHEMA']; ?>
- --
lang['PROGRESS']; ?> ::
-
-= as the version to be updated to next, we will skip the process
- if (version_compare($version, $current_version, '<') && version_compare($current_version, $next_version, '>='))
- {
- continue;
- }
-
- if (!sizeof($schema_changes))
- {
- continue;
- }
-
- // Get statements for schema updates
- $statements = $db_tools->sql_schema_changes($schema_changes);
-
- if (sizeof($statements))
- {
- $no_updates = false;
-
- foreach ($statements as $sql)
- {
- _sql($sql, $errored, $error_ary);
- }
- }
-}
-
-_write_result($no_updates, $errored, $error_ary);
-
-// Data updates
-$error_ary = array();
-$errored = $no_updates = false;
-
-?>
-
- lang['PROGRESS']; ?> ::
-
-= as the version to be updated to next, we will skip the process
- if (version_compare($version, $current_version, '<') && version_compare($current_version, $next_version, '>='))
- {
- continue;
- }
-
- change_database_data($no_updates, $version);
-}
-
-_write_result($no_updates, $errored, $error_ary);
-
-$error_ary = array();
-$errored = $no_updates = false;
-
-?>
-
- lang['PROGRESS']; ?> ::
-
-dbms_type)
-{
- case 'mysql':
- $sql = 'OPTIMIZE TABLE ' . $table_prefix . 'auth_access, ' . $table_prefix . 'banlist, ' . $table_prefix . 'categories, ' . $table_prefix . 'config, ' . $table_prefix . 'disallow, ' . $table_prefix . 'forum_prune, ' . $table_prefix . 'forums, ' . $table_prefix . 'groups, ' . $table_prefix . 'posts, ' . $table_prefix . 'posts_text, ' . $table_prefix . 'privmsgs, ' . $table_prefix . 'privmsgs_text, ' . $table_prefix . 'ranks, ' . $table_prefix . 'search_results, ' . $table_prefix . 'search_wordlist, ' . $table_prefix . 'search_wordmatch, ' . $table_prefix . 'sessions_keys' . $table_prefix . 'smilies, ' . $table_prefix . 'themes, ' . $table_prefix . 'themes_name, ' . $table_prefix . 'topics, ' . $table_prefix . 'topics_watch, ' . $table_prefix . 'user_group, ' . $table_prefix . 'users, ' . $table_prefix . 'vote_desc, ' . $table_prefix . 'vote_results, ' . $table_prefix . 'vote_voters, ' . $table_prefix . 'words';
- _sql($sql, $errored, $error_ary);
- break;
-
- case 'postgresql':
- _sql("VACUUM ANALYZE", $errored, $error_ary);
- break;
-}
-*/
-
-_write_result($no_updates, $errored, $error_ary);
-
-?>
-
- lang['UPDATE_FILES_NOTICE']; ?> lang['COMPLETE_LOGIN_TO_BOARD']; ?> lang['INLINE_UPDATE_SUCCESSFUL'])) ? phpbb::$user->lang['INLINE_UPDATE_SUCCESSFUL'] : 'The database update was successful. Now you need to continue the update process.'); ?>
-lang['UPDATING_DATA']; ?>
-
-
-lang['UPDATE_VERSION_OPTIMIZE']; ?>
-
-
-lang['UPDATE_COMPLETED']; ?>
-
-
-
-purge();
-?>
-
-