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

    r136 r1331  
    104104        }
    105105    }
     106
     107    public static function get_objectid_mapping() {
     108        // Tags cannot be mapped.
     109        return array('db' => 'tag_instance', 'restore' => base::NOT_MAPPED);
     110    }
     111
     112    public static function get_other_mapping() {
     113        $othermapped = array();
     114        $othermapped['tagid'] = array('db' => 'tag', 'restore' => base::NOT_MAPPED);
     115        $othermapped['itemid'] = base::NOT_MAPPED;
     116
     117        return $othermapped;
     118    }
     119
    106120}
Note: See TracChangeset for help on using the changeset viewer.