summaryrefslogtreecommitdiff
path: root/download_file.php
diff options
context:
space:
mode:
authorMax Kremmel <xing@synapse.plus.com>2008-06-27 08:43:42 +0000
committerMax Kremmel <xing@synapse.plus.com>2008-06-27 08:43:42 +0000
commit745085207ed5c417dfe7059ecb4376deb9a7bcf8 (patch)
treec9ee1615a01ef554cece672085f92e89fa30b16e /download_file.php
parent07842862a4a626ec513b1269a093d736f017d55a (diff)
downloadliberty-745085207ed5c417dfe7059ecb4376deb9a7bcf8.tar.gz
liberty-745085207ed5c417dfe7059ecb4376deb9a7bcf8.tar.bz2
liberty-745085207ed5c417dfe7059ecb4376deb9a7bcf8.zip
move LibertyMime::getPluginFunction into LibertySystem where it belongs
Diffstat (limited to 'download_file.php')
-rw-r--r--download_file.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/download_file.php b/download_file.php
index fdd6c55..59a9b5f 100644
--- a/download_file.php
+++ b/download_file.php
@@ -1,6 +1,6 @@
<?php
/**
- * @version $Header: /cvsroot/bitweaver/_bit_liberty/download_file.php,v 1.1 2008/06/10 18:43:54 squareing Exp $
+ * @version $Header: /cvsroot/bitweaver/_bit_liberty/download_file.php,v 1.2 2008/06/27 08:43:42 squareing Exp $
*
* @author xing <xing@synapse.plus.com>
* @package treasury
@@ -23,7 +23,7 @@ $gContent = LibertyBase::getLibertyObject( $attachment['content_id'] );
$gContent->verifyViewPermission();
$gBitSmarty->assign( 'gContent', $gContent );
-if( $download_function = LibertyMime::getPluginFunction( $attachment['attachment_plugin_guid'], 'download_function' )) {
+if( $download_function = $gLibertySystem->getMimePluginFunction( $attachment['attachment_plugin_guid'], 'download_function' )) {
if( $download_function( $attachment )) {
die;
} else {