aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_install.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2013-11-07 13:26:43 +0100
committerJoas Schilling <nickvergessen@gmx.de>2013-11-07 13:26:43 +0100
commit0e33c8d3d2fe830490771f7d1a357612b297ef96 (patch)
treed34333bcf05667b02e5eeca998b1f4dd3f879a96 /phpBB/includes/functions_install.php
parent7aa4d8fce2e61776d5f2dbf67386a589bcd7d634 (diff)
downloadforums-0e33c8d3d2fe830490771f7d1a357612b297ef96.tar
forums-0e33c8d3d2fe830490771f7d1a357612b297ef96.tar.gz
forums-0e33c8d3d2fe830490771f7d1a357612b297ef96.tar.bz2
forums-0e33c8d3d2fe830490771f7d1a357612b297ef96.tar.xz
forums-0e33c8d3d2fe830490771f7d1a357612b297ef96.zip
[ticket/11927] Add doc block to new function
PHPBB3-11927
Diffstat (limited to 'phpBB/includes/functions_install.php')
-rw-r--r--phpBB/includes/functions_install.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/phpBB/includes/functions_install.php b/phpBB/includes/functions_install.php
index be0ecd4306..25b594cac3 100644
--- a/phpBB/includes/functions_install.php
+++ b/phpBB/includes/functions_install.php
@@ -535,7 +535,16 @@ function phpbb_create_config_file_data($data, $dbms, $debug = false, $debug_test
}
/**
+* Check whether a file should be ignored on update
*
+* We ignore new files in some circumstances:
+* 1. The file is a language file, but the language is not installed
+* 2. The file is a style file, but the style is not installed
+* 3. The file is a style language file, but the language is not installed
+*
+* @param string $phpbb_root_path phpBB root path
+* @param string $file File including path from phpbb root
+* @return bool Should we ignore the new file or add it to the board?
*/
function ignore_new_file_on_update($phpbb_root_path, $file)
{