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/role_unassigned.php

    r136 r1331  
    129129        }
    130130    }
     131
     132    public static function get_objectid_mapping() {
     133        return array('db' => 'role', 'restore' => 'role');
     134    }
     135
     136    public static function get_other_mapping() {
     137        $othermapped = array();
     138        $othermapped['id'] = array('db' => 'role_assignments', 'restore' => base::NOT_MAPPED);
     139        $othermapped['itemid'] = base::NOT_MAPPED;
     140
     141        return $othermapped;
     142    }
    131143}
Note: See TracChangeset for help on using the changeset viewer.