diff options
| author | Max Kremmel <xing@synapse.plus.com> | 2006-02-02 09:21:28 +0000 |
|---|---|---|
| committer | Max Kremmel <xing@synapse.plus.com> | 2006-02-02 09:21:28 +0000 |
| commit | 44c930bf0a4e11dc03e12af7a024890338f5047b (patch) | |
| tree | 702fd91e58849265bd31ff1ea1fe6871c7addb2b /plugins/storage.bitfile.php | |
| parent | f5f6b1402682b739a78246aaebae40fd00f15279 (diff) | |
| download | liberty-44c930bf0a4e11dc03e12af7a024890338f5047b.tar.gz liberty-44c930bf0a4e11dc03e12af7a024890338f5047b.tar.bz2 liberty-44c930bf0a4e11dc03e12af7a024890338f5047b.zip | |
detikify
Diffstat (limited to 'plugins/storage.bitfile.php')
| -rw-r--r-- | plugins/storage.bitfile.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/storage.bitfile.php b/plugins/storage.bitfile.php index 009b7e7..8203cfe 100644 --- a/plugins/storage.bitfile.php +++ b/plugins/storage.bitfile.php @@ -1,6 +1,6 @@ <?php /** - * @version $Revision: 1.12 $ + * @version $Revision: 1.13 $ * @package liberty * @subpackage plugins_storage */ @@ -43,7 +43,6 @@ function bit_files_store( &$pStoreRow ) { $pref = $gBitSystem->getPreference('centralized_upload_dir'); if( isset( $pref ) ) { if( !empty( $pStoreRow['foreign_id'] ) ) { - //$sql = "UPDATE tiki_attachment SET `binary_id`=NULL, `storage_path`=? WHERE `user_id`=? AND storage_id=?"; $sql = "UPDATE `".BIT_DB_PREFIX."liberty_files SET `storage_path`=?, `mime_type`=?, `size`=? WHERE `file_id` = ?"; $gBitSystem->mDb->query( $sql, array( $pStoreRow['dest_file_path'], $pStoreRow['type'], $pStoreRow['size'], $pStoreRow['foreign_id'] ) ); } else { |
