summaryrefslogtreecommitdiff
path: root/LibertyComment.php
diff options
context:
space:
mode:
authorChristian Fowler <spider@viovio.com>2006-03-01 18:35:17 +0000
committerChristian Fowler <spider@viovio.com>2006-03-01 18:35:17 +0000
commitb587ea9a09835daf9e832fee0df17e0a6088c45f (patch)
treebeb1d5c5de063d533e18136f3fac9097c6ee371b /LibertyComment.php
parent6716fb6590171653a3fbd5ec2e3647bfdb63addb (diff)
downloadliberty-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 'LibertyComment.php')
-rw-r--r--LibertyComment.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/LibertyComment.php b/LibertyComment.php
index 7a6368b..67d3687 100644
--- a/LibertyComment.php
+++ b/LibertyComment.php
@@ -3,7 +3,7 @@
* Management of Liberty Content
*
* @package liberty
- * @version $Header: /cvsroot/bitweaver/_bit_liberty/LibertyComment.php,v 1.17 2006/02/24 22:13:20 spiderr Exp $
+ * @version $Header: /cvsroot/bitweaver/_bit_liberty/LibertyComment.php,v 1.18 2006/03/01 18:35:16 spiderr Exp $
* @author spider <spider@steelsun.com>
*/
@@ -196,7 +196,7 @@ class LibertyComment extends LibertyContent {
$pParamHash['sort_mode'] = 'last_modified_desc';
}
if( empty( $pParamHash['max_records'] ) ) {
- $pParamHash['max_records'] = $gBitSystem->getPreference( 'max_records' );
+ $pParamHash['max_records'] = $gBitSystem->getConfig( 'max_records' );
}
LibertyContent::prepGetList( $pParamHash );
$sort_mode = $this->mDb->convert_sortmode($pParamHash['sort_mode']);