| @@ 1267-1275 (lines=9) @@ | ||
| 1264 | } |
|
| 1265 | } |
|
| 1266 | // Don't remove stat collection unless we unchecked the box for real, not from the loop. |
|
| 1267 | elseif (empty($_POST['stats']) && empty($upcontext['allow_sm_stats'])) |
|
| 1268 | $smcFunc['db_query']('', ' |
|
| 1269 | DELETE FROM {db_prefix}settings |
|
| 1270 | WHERE variable = {string:enable_sm_stats}', |
|
| 1271 | array( |
|
| 1272 | 'enable_sm_stats' => 'enable_sm_stats', |
|
| 1273 | 'db_error_skip' => true, |
|
| 1274 | ) |
|
| 1275 | ); |
|
| 1276 | ||
| 1277 | // Are we enabling SSL? |
|
| 1278 | if (!empty($_POST['force_ssl'])) |
|
| @@ 1003-1011 (lines=9) @@ | ||
| 1000 | } |
|
| 1001 | } |
|
| 1002 | // Don't remove stat collection unless we unchecked the box for real, not from the loop. |
|
| 1003 | elseif (empty($_POST['stats']) && empty($upcontext['allow_sm_stats'])) |
|
| 1004 | $smcFunc['db_query']('', ' |
|
| 1005 | DELETE FROM {db_prefix}settings |
|
| 1006 | WHERE variable = {string:enable_sm_stats}', |
|
| 1007 | array( |
|
| 1008 | 'enable_sm_stats' => 'enable_sm_stats', |
|
| 1009 | 'db_error_skip' => true, |
|
| 1010 | ) |
|
| 1011 | ); |
|
| 1012 | ||
| 1013 | // Deleting old karma stuff? |
|
| 1014 | if (!empty($_POST['delete_karma'])) |
|