diff options
author | Andreas Gohr <andi@splitbrain.org> | 2014-01-05 20:58:48 +0100 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2014-01-05 20:58:48 +0100 |
commit | 9672d9f3bf51a5b383078874035796c6ac776eb1 (patch) | |
tree | 387e9888d1ed8bde4e65c62f62ae48d38743eff9 /lib/plugins/plugin/classes/ap_delete.class.php | |
parent | 02630b1988d1137ac7559a37d0d04c0673c9fe64 (diff) | |
download | rpg-9672d9f3bf51a5b383078874035796c6ac776eb1.tar.gz rpg-9672d9f3bf51a5b383078874035796c6ac776eb1.tar.bz2 |
removed the old plugin manager
Diffstat (limited to 'lib/plugins/plugin/classes/ap_delete.class.php')
-rw-r--r-- | lib/plugins/plugin/classes/ap_delete.class.php | 28 |
1 files changed, 0 insertions, 28 deletions
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 @@ -<?php -class ap_delete extends ap_manage { - - function process() { - - if (!$this->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('<div class="pm_info">'); - ptln('<h2>'.$this->lang['deleting'].'</h2>'); - - if ($this->manager->error) { - ptln('<div class="error">'.str_replace("\n","<br />",$this->manager->error).'</div>'); - } else { - ptln('<p>'.sprintf($this->lang['deleted'],$this->plugin).'</p>'); - } - ptln('</div>'); - } -} - |