| @@ 1324-1332 (lines=9) @@ | ||
| 1321 | } |
|
| 1322 | } |
|
| 1323 | // Don't remove stat collection unless we unchecked the box for real, not from the loop. |
|
| 1324 | elseif (empty($_POST['stats']) && empty($upcontext['allow_sm_stats'])) |
|
| 1325 | $smcFunc['db_query']('', ' |
|
| 1326 | DELETE FROM {db_prefix}settings |
|
| 1327 | WHERE variable = {string:enable_sm_stats}', |
|
| 1328 | array( |
|
| 1329 | 'enable_sm_stats' => 'enable_sm_stats', |
|
| 1330 | 'db_error_skip' => true, |
|
| 1331 | ) |
|
| 1332 | ); |
|
| 1333 | ||
| 1334 | // Are we enabling SSL? |
|
| 1335 | if (!empty($_POST['force_ssl'])) |
|
| @@ 1107-1115 (lines=9) @@ | ||
| 1104 | } |
|
| 1105 | } |
|
| 1106 | // Don't remove stat collection unless we unchecked the box for real, not from the loop. |
|
| 1107 | elseif (empty($_POST['stats']) && empty($upcontext['allow_sm_stats'])) |
|
| 1108 | $smcFunc['db_query']('', ' |
|
| 1109 | DELETE FROM {db_prefix}settings |
|
| 1110 | WHERE variable = {string:enable_sm_stats}', |
|
| 1111 | array( |
|
| 1112 | 'enable_sm_stats' => 'enable_sm_stats', |
|
| 1113 | 'db_error_skip' => true, |
|
| 1114 | ) |
|
| 1115 | ); |
|
| 1116 | ||
| 1117 | // Deleting old karma stuff? |
|
| 1118 | if (!empty($_POST['delete_karma'])) |
|