summaryrefslogtreecommitdiffstats
path: root/system/application/models/file_mod.php
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xssn.at>2010-12-19 14:21:51 +0100
committerFlorian Pritz <bluewind@xssn.at>2010-12-19 14:21:51 +0100
commitbb64fc9350d9159ea23f415de7964b6a4b2123d4 (patch)
treea89144c943c43c8b9599800d3bc9f4245850b740 /system/application/models/file_mod.php
parent0d313a32f230071fcb53c84efe0e0e7296bcee46 (diff)
add deleteion support to the webui
Signed-off-by: Florian Pritz <bluewind@xssn.at>
Diffstat (limited to 'system/application/models/file_mod.php')
-rw-r--r--system/application/models/file_mod.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/system/application/models/file_mod.php b/system/application/models/file_mod.php
index 83834f7f1..5a06a9801 100644
--- a/system/application/models/file_mod.php
+++ b/system/application/models/file_mod.php
@@ -215,6 +215,7 @@ class File_mod extends Model {
$data['plain_link'] = site_url($id.'/plain');
$data['auto_link'] = site_url($id).'/';
$data['rmd_link'] = site_url($id.'/rmd');
+ $data['delete_link'] = site_url("file/delete/".$id);
header("Content-Type: text/html\n");
if ($mode) {