summaryrefslogtreecommitdiff
path: root/lib/plugins/plugin/classes/ap_delete.class.php
diff options
context:
space:
mode:
authorAnika Henke <anika@selfthinker.org>2014-02-02 14:43:06 +0000
committerAnika Henke <anika@selfthinker.org>2014-02-02 14:43:06 +0000
commita051c2744a397f5ccbb688e0edab307451dc522d (patch)
treed9744944e50f2c23df22bd6856779bd228e129c4 /lib/plugins/plugin/classes/ap_delete.class.php
parent3641199a253e8f92f378f03926af80724ef04146 (diff)
parenta8895ef5de970d5e6b1e273c3fe111b606611244 (diff)
downloadrpg-a051c2744a397f5ccbb688e0edab307451dc522d.tar.gz
rpg-a051c2744a397f5ccbb688e0edab307451dc522d.tar.bz2
Merge remote-tracking branch 'origin/master' into video-audio
Diffstat (limited to 'lib/plugins/plugin/classes/ap_delete.class.php')
-rw-r--r--lib/plugins/plugin/classes/ap_delete.class.php28
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>');
- }
-}
-