Skip to content
Permalink
Browse files

Merge branch 'wip-mdl-31405-m25' of git://github.com/rajeshtaneja/moo…

…dle into MOODLE_25_STABLE
  • Loading branch information...
danpoltawski committed Oct 22, 2013
2 parents b2108d9 + e2311f3 commit 065e6bf3860d005257e7c934626c498532ab4505
Showing with 1 addition and 7 deletions.
  1. +1 −7 mod/assignment/lib.php
@@ -3883,18 +3883,12 @@ function assignment_reset_userdata($data) {
// Updating dates - shift may be negative too.
if ($data->timeshift) {
$plugintypestrkey = 'type'.$this->type;
if (get_string_manager()->string_exists($plugintypestrkey, 'assignment')) {
$typestr = get_string_manager()->get_string($plugintypestrkey, 'assignment');
} else {
$typestr = get_string_manager()->get_string($plugintypestrkey, 'assignment_'.$this->type);
}
shift_course_mod_dates('assignment',
array('timedue', 'timeavailable'),
$data->timeshift,
$data->courseid);
$status[] = array('component' => get_string('modulenameplural', 'assignment'),
'item' => get_string('datechanged').': '.$typestr,
'item' => get_string('datechanged'),
'error' => false);
}
return $status;

0 comments on commit 065e6bf

Please sign in to comment.
You can’t perform that action at this time.