Merge branch 'wip-MDL-35661-MOODLE_23_STABLE' of git://github.com/marinaglancy/moodle...
authorDan Poltawski <dan@moodle.com>
Mon, 15 Oct 2012 05:31:22 +0000 (13:31 +0800)
committerDan Poltawski <dan@moodle.com>
Mon, 15 Oct 2012 05:31:22 +0000 (13:31 +0800)
lib/pluginlib.php

index b224d6d..470fa88 100644 (file)
@@ -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();
-        }
-    }
 }