Skip to content

Conversation

TamaroWalter
Copy link
Contributor

Feature is almost completed, only testing is missing:

A Teacher can move a topic by clicking the arrow icon on a discussion:
Screenshot from 2023-03-09 14-35-11

With clicking the icon, a table with all available courses will show up on the top of the forum.
image

By clicking on an arrow by the forum, the topic will be moved to the forum an the discussion site will reload without the table:
image

@NinaHerrmann
Copy link
Contributor

implements #112 and #69

@NinaHerrmann
Copy link
Contributor

image

<a href="{{ lastpostlink }}">{{ lastpostdate }}</a>
</td>


Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please insert an additional check - {subscribeormove} which only renders the column if the user can subscribe or move the topic or both.

$userto = $DB->get_record('user', array('id' => $user->userid));
$from = \core_user::get_noreply_user();
$subject = get_string('tasksenddailymail', 'mod_moodleoverflow');
mtrace($message);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove mtrace as for many post this might make the log very big

lib.php Outdated
// Tracing information.
mtrace('Processing user ' . $userto->id);

mtrace('Mail setting of user: ' . $userto->maildigest);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove mtrace as for many post this might make the log very big

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants