-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Feature/topicmove #119
Feature/topicmove #119
Conversation
Fix/codecleanup
…another forum. Coding style errors are fixed
templates/discussion_list.mustache
Outdated
@@ -202,10 +202,19 @@ | |||
{{^ lastpostusername }}-{{/ lastpostusername }}<br /> | |||
<a href="{{ lastpostlink }}">{{ lastpostdate }}</a> | |||
</td> | |||
|
|||
|
There was a problem hiding this comment.
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.
classes/task/send_daily_mail.php
Outdated
$userto = $DB->get_record('user', array('id' => $user->userid)); | ||
$from = \core_user::get_noreply_user(); | ||
$subject = get_string('tasksenddailymail', 'mod_moodleoverflow'); | ||
mtrace($message); |
There was a problem hiding this comment.
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
// Terminate if the process takes more time then two minutes. | ||
core_php_time_limit::raise(120); | ||
|
||
// Tracing information. | ||
mtrace('Processing user ' . $userto->id); | ||
|
||
mtrace('Mail setting of user: ' . $userto->maildigest); |
There was a problem hiding this comment.
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
Feature is almost completed, only testing is missing:
A Teacher can move a topic by clicking the arrow icon on a discussion:

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

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:
