MDL-59388 core_calendar: remove empty lines and unused imports

This commit is contained in:
Simey Lameze 2017-08-16 09:44:27 +08:00
parent 12eef11c8f
commit bd33760372
6 changed files with 1 additions and 11 deletions

View file

@ -26,9 +26,6 @@ namespace core_calendar\external;
defined('MOODLE_INTERNAL') || die();
use \core\external\exporter;
use \core_calendar\local\event\entities\event_interface;
use \core_calendar\local\event\entities\action_event_interface;
use \core_course\external\course_summary_exporter;
use \renderer_base;

View file

@ -27,8 +27,6 @@ namespace core_calendar\external;
defined('MOODLE_INTERNAL') || die();
use core\external\exporter;
use renderer_base;
use moodle_url;
/**
* Class for displaying the day view.

View file

@ -26,11 +26,8 @@ namespace core_calendar\external;
defined('MOODLE_INTERNAL') || die();
require_once($CFG->dirroot . "/calendar/lib.php");
use \core\external\exporter;
use \core_calendar\local\event\entities\event_interface;
use \core_calendar\local\event\entities\action_event_interface;
use \core_calendar\local\event\container;
use \core_course\external\course_summary_exporter;

View file

@ -117,7 +117,7 @@ class footer_options_exporter extends exporter {
$exportbutton = $this->get_export_calendar_button();
$values->exportcalendarbutton = $exportbutton->export_for_template($output);
$values->managesubscriptionbutton = $this->get_manage_subscriptions_button($output);
$values->icalurl = $this->get_ical_url($output)->out(false);
$values->icalurl = $this->get_ical_url()->out(false);
}
return (array) $values;

View file

@ -28,7 +28,6 @@ defined('MOODLE_INTERNAL') || die();
use core\external\exporter;
use renderer_base;
use moodle_url;
/**
* Class for displaying the week view.