Vergleich admin/modules/tools/tasks.php - 1.4.5 - 1.4.13

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 6Zeile 6
 * Website: http://www.mybboard.net
* License: http://www.mybboard.net/about/license
*

 * Website: http://www.mybboard.net
* License: http://www.mybboard.net/about/license
*

 * $Id: tasks.php 4309 2009-01-17 18:36:01Z Tikitiki $

 * $Id: tasks.php 4427 2009-08-13 21:22:07Z RyanGordon $

 */

// Disallow direct access to this file for security reasons

 */

// Disallow direct access to this file for security reasons

Zeile 315Zeile 315
		
if(!$errors)
{

		
if(!$errors)
{

 
			$enable_confirmation = false;
// Check if we need to ask the user to confirm turning on the task
if(($task['file'] == "backupdb" || $task['file'] == "checktables") && $task['enabled'] == 0 && $mybb->input['enabled'] == 1)
{
$mybb->input['enabled'] = 0;
$enable_confirmation = true;
}


			$updated_task = array(
"title" => $db->escape_string($mybb->input['title']),
"description" => $db->escape_string($mybb->input['description']),

			$updated_task = array(
"title" => $db->escape_string($mybb->input['title']),
"description" => $db->escape_string($mybb->input['description']),

Zeile 338Zeile 346
			log_admin_action($task['tid'], $mybb->input['title']);

flash_message($lang->success_task_updated, 'success');

			log_admin_action($task['tid'], $mybb->input['title']);

flash_message($lang->success_task_updated, 'success');

			admin_redirect("index.php?module=tools/tasks");









			
if($enable_confirmation == true)
{
admin_redirect("index.php?module=tools/tasks&action=enable&tid={$task['tid']}&my_post_key={$mybb->post_code}");
}
else
{
admin_redirect("index.php?module=tools/tasks");
}

		}
}


		}
}