diff options
| author | Christian Fowler <spider@viovio.com> | 2006-03-01 18:35:17 +0000 |
|---|---|---|
| committer | Christian Fowler <spider@viovio.com> | 2006-03-01 18:35:17 +0000 |
| commit | b587ea9a09835daf9e832fee0df17e0a6088c45f (patch) | |
| tree | beb1d5c5de063d533e18136f3fac9097c6ee371b /plugins/storage.bitfile.php | |
| parent | 6716fb6590171653a3fbd5ec2e3647bfdb63addb (diff) | |
| download | liberty-b587ea9a09835daf9e832fee0df17e0a6088c45f.tar.gz liberty-b587ea9a09835daf9e832fee0df17e0a6088c45f.tar.bz2 liberty-b587ea9a09835daf9e832fee0df17e0a6088c45f.zip | |
move BitSystem:: preferences methods to get/set/load/storeConfig to avoid conflict with new content preferences
Diffstat (limited to 'plugins/storage.bitfile.php')
| -rw-r--r-- | plugins/storage.bitfile.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/storage.bitfile.php b/plugins/storage.bitfile.php index 067fb6b..77a0b2c 100644 --- a/plugins/storage.bitfile.php +++ b/plugins/storage.bitfile.php @@ -1,6 +1,6 @@ <?php /** - * @version $Revision: 1.14 $ + * @version $Revision: 1.15 $ * @package liberty * @subpackage plugins_storage */ @@ -40,7 +40,7 @@ function bit_files_verify( &$pStoreRow ) { function bit_files_store( &$pStoreRow ) { global $gBitSystem, $gBitUser; $ret = NULL; - $pref = $gBitSystem->getPreference('centralized_upload_dir'); + $pref = $gBitSystem->getConfig('centralized_upload_dir'); if( isset( $pref ) ) { if( !empty( $pStoreRow['foreign_id'] ) ) { $sql = "UPDATE `".BIT_DB_PREFIX."liberty_files SET `storage_path`=?, `mime_type`=?, `file_size`=? WHERE `file_id` = ?"; |
