[ Index ]

PHP Cross Reference of MyBB 1.8.38

title

Body

[close]

/install/ -> upgrade.php (summary)

MyBB 1.8 Copyright 2014 MyBB Group, All Rights Reserved Website: http://www.mybb.com License: http://www.mybb.com/about/license

File Size: 1173 lines (35 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 17 files
 inc/class_language.php
 inc/class_session.php
 inc/functions_serverstats.php
 inc/AbstractPdoDbDriver.php
 inc/db_base.php
 install/resources/output.php
 admin/inc/functions.php
 inc/class_error.php
 inc/class_plugins.php
 inc/functions.php
 inc/functions_task.php
 inc/class_core.php
 admin/inc/functions_themes.php
 inc/class_timers.php
 inc/functions_user.php
 inc/settings.php
 inc/class_datacache.php

Defines 12 functions

  upgradethemes()
  buildsettings()
  buildcaches()
  upgradedone()
  whatsnext()
  next_function()
  load_module()
  get_upgrade_store()
  add_upgrade_store()
  sync_settings()
  sync_tasks()
  write_settings()

Functions
Functions that are not part of a class:

upgradethemes()   X-Ref
Do the upgrade changes

buildsettings()   X-Ref
Update the settings

buildcaches()   X-Ref
Rebuild caches

upgradedone()   X-Ref
Called as latest function. Send statistics, create lock file etc

whatsnext()   X-Ref
Show the finish page

next_function($from, $func="dbchanges")   X-Ref
Determine the next function we need to call
return: string
param: int $from
param: string $func

load_module($module)   X-Ref

param: string $module

get_upgrade_store($title)   X-Ref
Get a value from our upgrade data cache
return: mixed
param: string $title

add_upgrade_store($title, $contents)   X-Ref

param: string $title
param: mixed $contents

sync_settings($redo=0)   X-Ref

return: array
param: int $redo 2 means that all setting tables will be dropped and recreated

sync_tasks($redo=0)   X-Ref

return: int
param: int $redo 2 means that the tasks table will be dropped and recreated

write_settings()   X-Ref
Write our settings to the settings file



2005 - 2021 © MyBB.de | Alle Rechte vorbehalten! | Sponsor: netcup Cross-referenced by PHPXref