From b587ea9a09835daf9e832fee0df17e0a6088c45f Mon Sep 17 00:00:00 2001 From: Christian Fowler Date: Wed, 1 Mar 2006 18:35:17 +0000 Subject: move BitSystem:: preferences methods to get/set/load/storeConfig to avoid conflict with new content preferences --- LibertyComment.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'LibertyComment.php') 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 */ @@ -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']); -- cgit v1.3