Vergleich admin/modules/tools/optimizedb.php - 1.8.0 - 1.8.37

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 24Zeile 24

if($mybb->request_method == "post")
{


if($mybb->request_method == "post")
{

		if(!is_array($mybb->input['tables']))

		if(empty($mybb->input['tables']) || !is_array($mybb->input['tables']))

		{
flash_message($lang->error_no_tables_selected, 'error');
admin_redirect("index.php?module=tools-optimizedb");

		{
flash_message($lang->error_no_tables_selected, 'error');
admin_redirect("index.php?module=tools-optimizedb");

Zeile 48Zeile 48
		$plugins->run_hooks("admin_tools_optimizedb_start_begin");

// Log admin action

		$plugins->run_hooks("admin_tools_optimizedb_start_begin");

// Log admin action

		log_admin_action(serialize($mybb->input['tables']));

		log_admin_action(my_serialize($mybb->input['tables']));


flash_message($lang->success_tables_optimized, 'success');
admin_redirect("index.php?module=tools-optimizedb");


flash_message($lang->success_tables_optimized, 'success');
admin_redirect("index.php?module=tools-optimizedb");