Zeile 6 | Zeile 6 |
---|
* Website: http://mybb.com * License: http://mybb.com/about/license *
|
* Website: http://mybb.com * License: http://mybb.com/about/license *
|
* $Id: checktables.php 5016 2010-06-12 00:24:02Z RyanGordon $
| * $Id$
|
*/
function task_checktables($task)
| */
function task_checktables($task)
|
Zeile 51 | Zeile 51 |
---|
$boardclosed_reason = $mybb->settings['boardclosed_reason']; $db->update_query("settings", array('value' => 1), "name='boardclosed'", 1);
|
$boardclosed_reason = $mybb->settings['boardclosed_reason']; $db->update_query("settings", array('value' => 1), "name='boardclosed'", 1);
|
$db->update_query("settings", array('value' => $lang->error_database_repair), "name='boardclosed_reason'", 1);
| $db->update_query("settings", array('value' => $db->escape_string($lang->error_database_repair)), "name='boardclosed_reason'", 1);
|
rebuild_settings(); $setting_done = true;
| rebuild_settings(); $setting_done = true;
|
Zeile 64 | Zeile 64 |
---|
if($table['Table'] != $mybb->config['database']['table_prefix'].".".TABLE_PREFIX."settings" && $setting_done == true) {
|
if($table['Table'] != $mybb->config['database']['table_prefix'].".".TABLE_PREFIX."settings" && $setting_done == true) {
|
$db->update_query("settings", array('value' => $boardclosed), "name='boardclosed'", 1); $db->update_query("settings", array('value' => $boardclosed_reason), "name='boardclosed_reason'", 1);
| $db->update_query("settings", array('value' => intval($boardclosed)), "name='boardclosed'", 1); $db->update_query("settings", array('value' => $db->escape_string($boardclosed_reason)), "name='boardclosed_reason'", 1);
|
rebuild_settings(); }
| rebuild_settings(); }
|