/**
  * Recalculate the target folder's dates after moving objects.
  * @access private
  */
 public function run()
 {
     parent::run();
     $this->_folder->refresh_dates(true);
     $this->_target->refresh_dates(true);
 }
 /**
  * @param FOLDER $folder Objects are from this folder.
  * @param FOLDER $target Move objects to this folder.
  */
 public function __construct($folder)
 {
     parent::__construct($folder);
     $field = $this->field_at('copy_as_draft');
     $field->visible = true;
 }