Zeile 164 | Zeile 164 |
---|
$this->toggle_post_visibility($pids); }
|
$this->toggle_post_visibility($pids); }
|
if($post_options['softdelete'] == 'softdelete') // Soft delete posts
| if($post_options['softdeleteposts'] == 'softdelete') // Soft delete posts
|
{ $this->soft_delete_posts($pids); }
|
{ $this->soft_delete_posts($pids); }
|
elseif($post_options['softdelete'] == 'restore') // Restore posts
| elseif($post_options['softdeleteposts'] == 'restore') // Restore posts
|
{ $this->restore_posts($pids); }
|
{ $this->restore_posts($pids); }
|
elseif($post_options['softdelete'] == 'toggle') // Toggle post visibility
| elseif($post_options['softdeleteposts'] == 'toggle') // Toggle post visibility
|
{ $this->toggle_post_softdelete($pids); }
| { $this->toggle_post_softdelete($pids); }
|
Zeile 336 | Zeile 336 |
---|
$this->toggle_thread_visibility($tids, $thread['fid']); }
|
$this->toggle_thread_visibility($tids, $thread['fid']); }
|
if($thread_options['softdelete'] == 'softdelete') // Soft delete thread
| if($thread_options['softdeletethread'] == 'softdelete') // Soft delete thread
|
{
|
{
|
$this->soft_delete_threads($tids, $thread['fid']);
| $this->soft_delete_threads($tids);
|
}
|
}
|
elseif($thread_options['softdelete'] == 'restore') // Restore thread
| elseif($thread_options['softdeletethread'] == 'restore') // Restore thread
|
{
|
{
|
$this->restore_threads($tids, $thread['fid']);
| $this->restore_threads($tids);
|
}
|
}
|
elseif($thread_options['softdelete'] == 'toggle') // Toggle thread visibility
| elseif($thread_options['softdeletethread'] == 'toggle') // Toggle thread visibility
|
{
|
{
|
$this->toggle_thread_softdelete($tids, $thread['fid']);
| $this->toggle_thread_softdelete($tids);
|
}
if($thread_options['openthread'] == 'open') // Open thread
| }
if($thread_options['openthread'] == 'open') // Open thread
|