MDL-55188 events: First deprecation of eventslib.php