mirror of
https://github.com/phpbb/phpbb.git
synced 2025-03-13 20:28:44 +01:00
[ticket/11927] Prefix function with phpbb_
PHPBB3-11927
This commit is contained in:
parent
0e33c8d3d2
commit
95348c8f6d
@ -546,7 +546,7 @@ function phpbb_create_config_file_data($data, $dbms, $debug = false, $debug_test
|
||||
* @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)
|
||||
function phpbb_ignore_new_file_on_update($phpbb_root_path, $file)
|
||||
{
|
||||
$ignore_new_file = false;
|
||||
|
||||
|
@ -1311,7 +1311,7 @@ class install_update extends module
|
||||
}
|
||||
}*/
|
||||
|
||||
if (!ignore_new_file_on_update($phpbb_root_path, $file))
|
||||
if (!phpbb_ignore_new_file_on_update($phpbb_root_path, $file))
|
||||
{
|
||||
$this->get_custom_info($update_list['new'], $file);
|
||||
$update_list['new'][] = array('filename' => $file, 'custom' => false);
|
||||
|
@ -34,6 +34,6 @@ class phpbb_functions_install_ignore_new_file_on_update_test extends phpbb_test_
|
||||
public function test_ignore_new_file_on_update($file, $expected)
|
||||
{
|
||||
global $phpbb_root_path;
|
||||
$this->assertEquals($expected, ignore_new_file_on_update($phpbb_root_path, $file));
|
||||
$this->assertEquals($expected, phpbb_ignore_new_file_on_update($phpbb_root_path, $file));
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user