Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

MDL-34583: Assignment upgrade loses comments from onlinetext and offl…

…ine assignment types.
  • Loading branch information...
commit 9bdc95b7029db06d2f01aa692b8cedf50454f2b8 1 parent 4ee439d
Damyon Wiese authored stronk7 committed
Showing with 2 additions and 1 deletion.
  1. +2 −1  mod/assign/feedback/comments/locallib.php
View
3  mod/assign/feedback/comments/locallib.php
@@ -213,7 +213,8 @@ public function view(stdClass $grade) {
*/
public function can_upgrade($type, $version) {
- if (($type == 'upload' || $type == 'uploadsingle') && $version >= 2011112900) {
+ if (($type == 'upload' || $type == 'uploadsingle' ||
+ $type == 'online' || $type == 'offline') && $version >= 2011112900) {
return true;
}
return false;
Please sign in to comment.
Something went wrong with that request. Please try again.