diff options
author | Ludovic Arnaud <ludovic_arnaud@users.sourceforge.net> | 2003-03-28 00:41:16 +0000 |
---|---|---|
committer | Ludovic Arnaud <ludovic_arnaud@users.sourceforge.net> | 2003-03-28 00:41:16 +0000 |
commit | 42ec5e67da2b91d3230e61f7ca12bcb619af38f9 (patch) | |
tree | 5cb86f36cc3f0723ada1ab3699b343b18d9c1791 /phpBB/adm/admin_forums.php | |
parent | fb5957474b8bdb29bf77c3d89ec3d30fcbfc7035 (diff) | |
download | forums-42ec5e67da2b91d3230e61f7ca12bcb619af38f9.tar forums-42ec5e67da2b91d3230e61f7ca12bcb619af38f9.tar.gz forums-42ec5e67da2b91d3230e61f7ca12bcb619af38f9.tar.bz2 forums-42ec5e67da2b91d3230e61f7ca12bcb619af38f9.tar.xz forums-42ec5e67da2b91d3230e61f7ca12bcb619af38f9.zip |
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
Diffstat (limited to 'phpBB/adm/admin_forums.php')
-rw-r--r-- | phpBB/adm/admin_forums.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/adm/admin_forums.php b/phpBB/adm/admin_forums.php index 84e99eb4c1..3b61263482 100644 --- a/phpBB/adm/admin_forums.php +++ b/phpBB/adm/admin_forums.php @@ -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 =\ |