diff options
author | Nils Adermann <naderman@naderman.de> | 2006-04-09 21:20:24 +0000 |
---|---|---|
committer | Nils Adermann <naderman@naderman.de> | 2006-04-09 21:20:24 +0000 |
commit | fc394d6302b45ff61d8c55e3e9516f3c212bf04c (patch) | |
tree | 4be365327698f094cb78f0a3825a19498d954843 /phpBB/includes/functions_admin.php | |
parent | 5b24c3a7fb5eaef0c6a1374eff1435322097f0b9 (diff) | |
download | forums-fc394d6302b45ff61d8c55e3e9516f3c212bf04c.tar forums-fc394d6302b45ff61d8c55e3e9516f3c212bf04c.tar.gz forums-fc394d6302b45ff61d8c55e3e9516f3c212bf04c.tar.bz2 forums-fc394d6302b45ff61d8c55e3e9516f3c212bf04c.tar.xz forums-fc394d6302b45ff61d8c55e3e9516f3c212bf04c.zip |
- check m_ permission for quickmod [Bug #1317]
- don't sync the global forum (id 0) [Bug #1383]
- corrections to available time zones [Bug #1306]
- only display open reports on mcp_front
- added whois information to mcp_post [Bug #1400]
- copy "dot" when copying a topic [Bug #1321]
- some language corrections [Bugs #1324, #1255, #1317]
- mozWrap scrolls back to previous position now [Bug #1190]
- some style related corrections [Bugs #1322, #1454, #1316]
- corrected copyrights [Bug #1468]
- fixed links on search results page [Bug #1469]
git-svn-id: file:///svn/phpbb/trunk@5779 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions_admin.php')
-rw-r--r-- | phpBB/includes/functions_admin.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/phpBB/includes/functions_admin.php b/phpBB/includes/functions_admin.php index 0c259924d6..261cbe3f45 100644 --- a/phpBB/includes/functions_admin.php +++ b/phpBB/includes/functions_admin.php @@ -918,11 +918,15 @@ function sync($mode, $where_type = '', $where_ids = '', $resync_parents = false, } else { + // Do not sync the "global forum" + $where_ids = array_diff($where_ids, array(0)); + if (!sizeof($where_ids)) { // Empty array with IDs. This means that we don't have any work to do. Just return. return; } + // Limit the topics/forums we are syncing, use specific topic/forum IDs. // $where_type contains the field for the where clause (forum_id, topic_id) $where_sql = 'WHERE ' . $mode{0} . ".$where_type IN (" . implode(', ', $where_ids) . ')'; |