1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

MCP: resync() function deemed stable enough to replace sync() in functions_admin.php. I will keep extensively testing it though...

Pruning: now works as expected.


git-svn-id: file:///svn/phpbb/trunk@3737 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Ludovic Arnaud
2003-03-28 00:41:16 +00:00
parent fb5957474b
commit 42ec5e67da
4 changed files with 965 additions and 1054 deletions

View File

@@ -377,7 +377,7 @@ switch ($mode)
break;
case 'sync':
sync('forum', intval($_GET['this_f']));
sync('forum', 'forum_id', intval($_GET['this_f']));
break;
case 'add':
@@ -973,7 +973,7 @@ function move_forum_content($from_id, $to_id)
{
$db->sql_query('DELETE FROM ' . TOPICS_TABLE . ' WHERE topic_id IN (' . implode(', ', $topic_ids) . ')');
}
sync('forum', $to_id);
sync('forum', 'forum_id', $to_id);
//
// TODO: there might be conflicts in ACL tables =\