[ticket/11162] Rename tricky updates to database helper.

PHPBB3-11162
This commit is contained in:
Oleg Pudeyev 2012-12-12 21:46:38 -05:00
parent f5de11438c
commit e2c67a8e42
7 changed files with 4 additions and 4 deletions

View file

@ -417,7 +417,7 @@ function merge_topics($forum_id, $topic_ids, $to_topic_id)
// Update the topic watch table.
if (!function_exists('phpbb_update_rows_avoiding_duplicates_notify_status'))
{
include($phpbb_root_path . 'includes/functions_tricky_update.' . $phpEx);
include($phpbb_root_path . 'includes/functions_database_helper.' . $phpEx);
}
phpbb_update_rows_avoiding_duplicates_notify_status($db, TOPICS_WATCH_TABLE, 'topic_id', $topic_ids, $to_topic_id);

View file

@ -622,7 +622,7 @@ function merge_posts($topic_id, $to_topic_id)
// If the topic no longer exist, we will update the topic watch table.
if (!function_exists('phpbb_update_rows_avoiding_duplicates_notify_status'))
{
include($phpbb_root_path . 'includes/functions_tricky_update.' . $phpEx);
include($phpbb_root_path . 'includes/functions_database_helper.' . $phpEx);
}
phpbb_update_rows_avoiding_duplicates_notify_status($db, TOPICS_WATCH_TABLE, 'topic_id', $topic_ids, $to_topic_id);
}

View file

@ -7,7 +7,7 @@
*
*/
require_once dirname(__FILE__) . '/../../phpBB/includes/functions_tricky_update.php';
require_once dirname(__FILE__) . '/../../phpBB/includes/functions_database_helper.php';
class phpbb_update_rows_avoiding_duplicates_notify_status_test extends phpbb_database_test_case
{

View file

@ -7,7 +7,7 @@
*
*/
require_once dirname(__FILE__) . '/../../phpBB/includes/functions_tricky_update.php';
require_once dirname(__FILE__) . '/../../phpBB/includes/functions_database_helper.php';
class phpbb_update_rows_avoiding_duplicates_test extends phpbb_database_test_case
{