Vergleich inc/tasks/delayedmoderation.php - 1.6.0 - 1.6.5

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 67Zeile 67
					}
break;
case "move":

					}
break;
case "move":

					if(count($tids) > 1)

					foreach($tids as $tid)

					{

					{

						foreach($tids as $tid)
{
$moderation->move_thread($tid, $input['moveto']);
}
}
else
{
$expire = 0;
if(intval($input['redirect_expire']) > 0)
{
$expire = $delayedmoderation['dateline'] + (intval($input['redirect_expire']) * 86400);
}

$moderation->move_thread($tid, $input['moveto'], $input['method'], $expire);

						$moderation->move_thread($tid, $input['new_forum']);














					}
break;
case "stick":

					}
break;
case "stick":

Zeile 223Zeile 210
					
if(!empty($approved_tids))
{

					
if(!empty($approved_tids))
{

						$moderation->unapproved_threads($approved_tids);

						$moderation->unapprove_threads($approved_tids);

					}

if(!empty($unapproved_tids))
{

					}

if(!empty($unapproved_tids))
{

						$moderation->approved_threads($unapproved_tids);

						$moderation->approve_threads($unapproved_tids);

					}
break;
}

					}
break;
}