root/ip/trunk/install/includes/functions_install.php
| 167 | 170 | ||
|---|---|---|---|
2274 | define('FORUM_CAT', 0); | 2274 | define('FORUM_CAT', 0); |
2275 | } | 2275 | } |
2276 | 2276 | ||
2277 | /* | ||
2277 | $sql = 'SHOW TABLES LIKE ' . CATEGORIES_TABLE; | 2278 | $sql = 'SHOW TABLES LIKE ' . CATEGORIES_TABLE; |
2278 | $result = $db->sql_query($sql); | 2279 | $result = $db->sql_query($sql); |
2279 | $row = $db->sql_fetchrow($result); | 2280 | $row = $db->sql_fetchrow($result); |
... | ... | ||
2281 | { | 2282 | { |
2282 | return false; | 2283 | return false; |
2283 | } | 2284 | } |
2285 | */ | ||
2284 | 2286 | ||
2285 | // Determine the highest id used within the old forums table (we add the categories after the forum ids) | 2287 | // Determine the highest id used within the old forums table (we add the categories after the forum ids) |
2286 | $sql = 'SELECT MAX(forum_id) AS max_forum_id | 2288 | $sql = 'SELECT MAX(forum_id) AS max_forum_id |
Download diff