Ignore:
Timestamp:
May 2, 2016, 12:09:23 PM (3 years ago)
Author:
jrpelegrina
Message:

Updated to moodle 3.0.3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • moodle/trunk/fuentes/lib/classes/event/calendar_event_updated.php

    r136 r1331  
    104104            throw new \coding_exception('The \'repeatid\' value must be set in other.');
    105105        }
    106         if (empty($this->other['name'])) {
     106        if (!isset($this->other['name'])) {
    107107            throw new \coding_exception('The \'name\' value must be set in other.');
    108108        }
     
    111111        }
    112112    }
     113
     114    public static function get_objectid_mapping() {
     115        return array('db' => 'event', 'restore' => 'event');
     116    }
     117
     118    public static function get_other_mapping() {
     119        $othermapped = array();
     120        $othermapped['repeatid'] = array('db' => 'event', 'restore' => 'event');
     121
     122        return $othermapped;
     123    }
    113124}
Note: See TracChangeset for help on using the changeset viewer.