Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No longer using externallib.php #802

Open
wants to merge 1 commit into
base: MOODLE_35_STABLE
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions classes/local/step/flow_web_service.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,10 @@

defined('MOODLE_INTERNAL') || die();

require_once($CFG->libdir . '/externallib.php');

use core_user;
use core\session\manager;
use external_api;
use core_external\external_api;
use moodle_exception;
use Symfony\Component\ExpressionLanguage\ExpressionLanguage;
use Symfony\Component\Yaml\Yaml;
use Throwable;
use tool_dataflows\parser;
Expand Down
4 changes: 1 addition & 3 deletions tests/tool_dataflows_web_service_flow_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,8 @@
defined('MOODLE_INTERNAL') || die();

global $CFG;
require_once($CFG->libdir.'/externallib.php');
require_once(__DIR__ . '/application_trait.php');



use Symfony\Component\ExpressionLanguage\ExpressionLanguage;
use Symfony\Component\Yaml\Yaml;
use tool_dataflows\dataflow;
Expand All @@ -38,6 +35,7 @@
* @author Ghaly Marc-Alexandre <[email protected]>
* @copyright 2022, Catalyst IT
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
* @runInSeparateProcess
*/
class tool_dataflows_web_service_flow_test extends \advanced_testcase {
use application_trait;
Expand Down