Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MDL-35661 local plugins do not have general settings URL

  • Loading branch information...
commit 2741c017cb193dc2aae94bb7538d5f17175919c7 1 parent 562dbe4
@marinaglancy marinaglancy authored
Showing with 0 additions and 8 deletions.
  1. +0 −8 lib/pluginlib.php
View
8 lib/pluginlib.php
@@ -2514,12 +2514,4 @@ class plugininfo_local extends plugininfo_base {
public function get_uninstall_url() {
return new moodle_url('/admin/localplugins.php', array('delete' => $this->name, 'sesskey' => sesskey()));
}
-
- public function get_settings_url() {
- if (file_exists($this->full_path('settings.php'))) {
- return new moodle_url('/admin/settings.php', array('section' => 'local_' . $this->name));
- } else {
- return parent::get_settings_url();
- }
- }
}
Please sign in to comment.
Something went wrong with that request. Please try again.