check_alien (line 1178)
Check for alien files.
string
check_alien
(array $old_files, array $files, SHORT_TEXT $dir, [SHORT_TEXT $rela = ''])
-
array
$old_files: List of files from old version
-
array
$files: List of verbatim files
-
SHORT_TEXT
$dir: The directory we are scanning relative to
-
SHORT_TEXT
$rela: The directory (relative) we are scanning
check_excess_perms (line 1014)
Find any excess permissions
string
check_excess_perms
(array $array, [string $rel = ''])
-
array
$array: Permissions that DO need to be set
-
string
$rel: Where we are searching under
check_outdated (line 1052)
Check for out-dated files.
array
check_outdated
(SHORT_TEXT $dir, SHORT_TEXT $rela, array &$master_data, array &$hook_files)
-
SHORT_TEXT
$dir: The directory we are scanning relative to
-
SHORT_TEXT
$rela: The directory (relative) we are scanning
-
array
&$master_data: Unserialised data/files.dat
-
array
&$hook_files: A list of the contents of our addon registry hook files
check_perms (line 823)
Do permission checking
string
check_perms
()
clear_caches_1 (line 778)
Clear many caches.
void
clear_caches_1
()
clear_caches_2 (line 788)
Clear more caches. This is intentionally done after db upgrading.
void
clear_caches_2
()
fix_perms (line 897)
Do permission setting
string
fix_perms
()
fu_link (line 634)
Generate a form-based link to relay POST information to a URL.
string
fu_link
(string $url, string $text, [boolean $disabled = false])
-
string
$url: The URL (something like 'upgrader.php?type=ocf')
-
string
$text: The URL caption text
-
boolean
$disabled: Whether it is disabled
fu_rename_zone (line 1349)
Rename a zone in the database and move any custom pages in it.
void
fu_rename_zone
(ID_TEXT $zone, ID_TEXT $new_zone, [boolean $dont_bother_with_main_row = false])
-
ID_TEXT
$zone: The old name of the zone
-
ID_TEXT
$new_zone: The new name of the zone
-
boolean
$dont_bother_with_main_row: Whether to assume the main zone row has already been renamed as part of a wider editing operation
get_chmod_array_2 (line 804)
Find extra directories to chmod
array
get_chmod_array_2
()
move_modules (line 977)
Tell the user about any modules that need moving again (because the ocp ones haven't moved).
array
move_modules
()
ocf_upgrade (line 1433)
Upgrade OCF if appropriate.
boolean
ocf_upgrade
()
post_fields_relay (line 616)
Get hidden form fields for relaying POST information.
string
post_fields_relay
()
run_integrity_check (line 413)
Do an integrity check.
string
run_integrity_check
([boolean $basic = false])
-
boolean
$basic: Whether to just do the minimum basic scan.
upgrade_modules (line 1374)
Upgrade all modules.
string
upgrade_modules
()
upgrade_script (line 25)
The upgrader.php script handler.
void
upgrade_script
()
up_do_footer (line 767)
Output the upgrader page footer.
void
up_do_footer
()
up_do_header (line 736)
Output the upgrader page header.
void
up_do_header
()
up_do_login (line 645)
Output a login page.
void
up_do_login
([?string $message = NULL])
-
?string
$message: Error message (NULL: none)
version_specific (line 1275)
Version specific upgrading. These are things that are relatively major structural changes and therefore will get done outside the module upgrade system.
boolean
version_specific
()
_integrity_scan (line 1249)
Move/delete certain selected things, in follow up to an integrity scan.
void
_integrity_scan
()