Permalink
Browse files

Revert "MDL-35442 Add settings and uninstall link for local plugins"

This doesn't work on 2.2.

This reverts commit 7fa1f18.
  • Loading branch information...
1 parent 782a1b4 commit c5bc14690f36ee88872d442972197e8dd224dc9d @danpoltawski danpoltawski committed Sep 24, 2012
Showing with 0 additions and 19 deletions.
  1. +0 −19 lib/pluginlib.php
View
@@ -1689,22 +1689,3 @@ public function get_uninstall_url() {
return new moodle_url('/admin/reports.php', array('delete' => $this->name, 'sesskey' => sesskey()));
}
}
-
-
-/**
- * Class for local plugins
- */
-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();
- }
- }
-}

0 comments on commit c5bc146

Please sign in to comment.