From 9672d9f3bf51a5b383078874035796c6ac776eb1 Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Sun, 5 Jan 2014 20:58:48 +0100 Subject: removed the old plugin manager --- lib/plugins/plugin/classes/ap_delete.class.php | 28 -------------------------- 1 file changed, 28 deletions(-) delete mode 100644 lib/plugins/plugin/classes/ap_delete.class.php (limited to 'lib/plugins/plugin/classes/ap_delete.class.php') diff --git a/lib/plugins/plugin/classes/ap_delete.class.php b/lib/plugins/plugin/classes/ap_delete.class.php deleted file mode 100644 index 581a6295f..000000000 --- a/lib/plugins/plugin/classes/ap_delete.class.php +++ /dev/null @@ -1,28 +0,0 @@ -dir_delete(DOKU_PLUGIN.plugin_directory($this->manager->plugin))) { - $this->manager->error = sprintf($this->lang['error_delete'],$this->manager->plugin); - } else { - msg(sprintf($this->lang['deleted'],$this->plugin)); - $this->refresh(); - } - } - - function html() { - parent::html(); - - ptln('
'); - ptln('

'.$this->lang['deleting'].'

'); - - if ($this->manager->error) { - ptln('
'.str_replace("\n","
",$this->manager->error).'
'); - } else { - ptln('

'.sprintf($this->lang['deleted'],$this->plugin).'

'); - } - ptln('
'); - } -} - -- cgit v1.2.3