Vergleich inc/functions_task.php - 1.4.0 - 1.4.12

  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: functions_task.php 4028 2008-07-19 11:04:48Z ZiNgaBuRgA $

 * $Id: functions_task.php 4344 2009-04-12 18:58:39Z Tikitiki $

 */

/**

 */

/**

Zeile 57Zeile 57
	{
if($task['logging'] == 1)
{

	{
if($task['logging'] == 1)
{

			add_task_log($task['id'], $lang->missing_task);

			add_task_log($task, $lang->missing_task);

		}
$cache->update_tasks();
return false;

		}
$cache->update_tasks();
return false;

Zeile 216Zeile 216
		{
if(build_next_run_bit($task['weekday'], $current_weekday) != false)
{

		{
if(build_next_run_bit($task['weekday'], $current_weekday) != false)
{

				$next_weekday - build_next_run_bit($task['weekday'], $current_weekday);

				$next_weekday = build_next_run_bit($task['weekday'], $current_weekday);

			}
else
{
$next_weekday = fetch_first_run_time($task['weekday']);
}
$next_day = $current_day + ($next_weekday-$current_weekday);

			}
else
{
$next_weekday = fetch_first_run_time($task['weekday']);
}
$next_day = $current_day + ($next_weekday-$current_weekday);

			if($next_day < $current_day)

			if($next_day <= $current_day)

			{
$next_day += 7;
}

			{
$next_day += 7;
}