automate_upgrade
automate_upgrade__safe
change_mysql_database_charset
check_alien
check_excess_perms
check_outdated__handle_overrides
check_perms
clear_caches_1
clear_caches_2
cns_upgrade
fix_mysql_database_charset
fix_perms
fu_link
fu_rename_zone
get_chmod_array_2
move_modules
post_fields_relay
run_integrity_check
up_do_footer
up_do_header
up_do_login
upgrade_modules
upgrade_script
upgrade_sharedinstall_sites
upgrade_theme
upgrade_themes
version_specific
automate_upgrade__safe()
| package | core_upgrader |
|---|
change_mysql_database_charset(\ID_TEXT $new_charset, object $db, boolean $reencode = false)
| package | core_upgrader |
|---|
\ID_TEXTCharacter set
objectDatabase
booleanWhether to let MySQL do a reencoding of the characters (if this is set to false we actually are adjusting the interpretation whilst leaving the disk data the same)
check_alien(array $addon_files, array $old_files, array $files, \SHORT_TEXT $dir, \SHORT_TEXT $rela= '', boolean $raw= false) : array
| package | core_upgrader |
|---|
arrayList of files from non-bundled addons (a map: relative file paths as keys of map)
arrayList of files from old version
arrayList of verbatim files
\SHORT_TEXTThe directory we are scanning relative to
\SHORT_TEXTThe directory (relative) we are scanning
booleanWhether to give raw output (no UI)
arrayA pair: HTML list of alien files, HTML list of addon filescheck_excess_perms(array $array, string $rel = '') : string
| package | core_upgrader |
|---|
arrayPermissions that DO need to be set
stringWhere we are searching under
stringMessagescheck_outdated__handle_overrides(\SHORT_TEXT $dir, \SHORT_TEXT $rela, array $master_data, array $hook_files, boolean $allow_merging) : array
| package | core_upgrader |
|---|
\SHORT_TEXTThe directory we are scanning relative to
\SHORT_TEXTThe directory (relative) we are scanning
arrayUnserialised data/files.dat
arrayA list of the contents of our addon registry hook files
booleanWhether merging of CSS changes is allowed
arrayTuple of various kinds of outdated/missing filesclear_caches_2()
| package | core_upgrader |
|---|
cns_upgrade() : boolean
fix_mysql_database_charset()
| package | core_upgrader |
|---|
fu_link(string $url, string $text, boolean $disabled= false, string $js= '') : string
| package | core_upgrader |
|---|
stringThe URL (something like 'upgrader.php?type=cns')
stringThe URL caption text
booleanWhether it is disabled
stringExtra JavaScript
stringThe form-based linkfu_rename_zone(\ID_TEXT $zone, \ID_TEXT $new_zone, boolean $dont_bother_with_main_row = false)
| package | core_upgrader |
|---|
\ID_TEXTThe old name of the zone
\ID_TEXTThe new name of the zone
booleanWhether to assume the main zone row has already been renamed as part of a wider editing operation
get_chmod_array_2() : array
move_modules() : array
post_fields_relay() : string
run_integrity_check(boolean $basic= false, boolean $allow_merging= true, boolean $unix_help= false) : string
| package | core_upgrader |
|---|
booleanWhether to just do the minimum basic scan.
booleanWhether merging of CSS changes is allowed.
booleanWhether to give some help to unix people.
stringResults.up_do_login(\?string $message = null)
upgrade_modules() : string
upgrade_sharedinstall_sites(integer $from = 0)
upgrade_theme(\ID_TEXT $theme, float $from_version, float $to_version, boolean $test_run = true) : array
| package | core_upgrader |
|---|
\ID_TEXTTheme to be upgraded
floatFrom version
floatTarget version
booleanWhether executing a test run (i.e. not do anything)
arrayA pair: List of errors, List of successesversion_specific() : boolean