Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge branch 'MDL-55188-master' of git://github.com/abgreeve/moodle
  • Loading branch information
David Monllao committed Jul 30, 2018
2 parents e32fe43 + b41e1d7 commit 627d9aa
Show file tree
Hide file tree
Showing 22 changed files with 178 additions and 996 deletions.
1 change: 0 additions & 1 deletion enrol/paypal/ipn.php
Expand Up @@ -35,7 +35,6 @@
// @codingStandardsIgnoreLine This script does not require login.
require("../../config.php");
require_once("lib.php");
require_once($CFG->libdir.'/eventslib.php');
require_once($CFG->libdir.'/enrollib.php');
require_once($CFG->libdir . '/filelib.php');

Expand Down
1 change: 0 additions & 1 deletion error/index.php
@@ -1,7 +1,6 @@
<?php

require('../config.php');
require_once($CFG->libdir.'/eventslib.php');

// Form submitted, do not check referer (original page unknown).
if ($form = data_submitted()) {
Expand Down
3 changes: 0 additions & 3 deletions lib/adminlib.php
Expand Up @@ -234,9 +234,6 @@ function uninstall_plugin($type, $name) {
// delete the capabilities that were defined by this module
capabilities_cleanup($component);

// remove event handlers and dequeue pending events
events_uninstall($component);

// Delete all remaining files in the filepool owned by the component.
$fs = get_file_storage();
$fs->delete_component_files($component);
Expand Down
4 changes: 0 additions & 4 deletions lib/classes/event/base.php
Expand Up @@ -834,10 +834,6 @@ public final function trigger() {
\core\event\manager::dispatch($this);

$this->dispatched = true;

if ($legacyeventname = static::get_legacy_eventname()) {
events_trigger_legacy($legacyeventname, $this->get_legacy_eventdata());
}
}

/**
Expand Down
48 changes: 0 additions & 48 deletions lib/classes/task/events_cron_task.php

This file was deleted.

9 changes: 0 additions & 9 deletions lib/db/tasks.php
Expand Up @@ -149,15 +149,6 @@
'dayofweek' => '*',
'month' => '*'
),
array(
'classname' => 'core\task\events_cron_task',
'blocking' => 0,
'minute' => '*',
'hour' => '*',
'day' => '*',
'dayofweek' => '*',
'month' => '*'
),
array(
'classname' => 'core\task\completion_regular_task',
'blocking' => 0,
Expand Down

0 comments on commit 627d9aa

Please sign in to comment.