refactor: remove cross-component runtime dependencies
Moodle Plugin CI / test (push) Successful in 3m20s

This commit is contained in:
2026-08-12 17:53:02 +00:00
parent 0d4bf6a208
commit a81530d0d7
15 changed files with 204 additions and 51 deletions
+2 -3
View File
@@ -25,7 +25,6 @@
namespace local_webhooks\event;
use core\event\base;
use lang_string;
use moodle_url;
/**
@@ -41,7 +40,7 @@ class service_added extends base {
* @throws \coding_exception
*/
public static function get_name() {
return new lang_string('create', 'moodle');
return get_string('create', 'local_webhooks');
}
/**
@@ -50,7 +49,7 @@ class service_added extends base {
* @throws \coding_exception
*/
public function get_description() {
return new lang_string('eventwebserviceservicecreated', 'webservice');
return get_string('eventwebserviceservicecreated', 'local_webhooks');
}
/**