summaryrefslogtreecommitdiff
path: root/bit_setup_inc.php
diff options
context:
space:
mode:
authorChristian Fowler <spider@viovio.com>2007-03-08 03:26:08 +0000
committerChristian Fowler <spider@viovio.com>2007-03-08 03:26:08 +0000
commitbda8185f89194de68827c37e57bd4a553b7c67fb (patch)
tree29c0b768796c4cdeed68bddb5a835325f07dc247 /bit_setup_inc.php
parenta0f31838d54247293e9b9217a8502d01339baaa8 (diff)
downloadboards-bda8185f89194de68827c37e57bd4a553b7c67fb.tar.gz
boards-bda8185f89194de68827c37e57bd4a553b7c67fb.tar.bz2
boards-bda8185f89194de68827c37e57bd4a553b7c67fb.zip
add getList to BitBoardPost to work like other class conventions. Use this method for new recent posts module
Diffstat (limited to 'bit_setup_inc.php')
-rw-r--r--bit_setup_inc.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/bit_setup_inc.php b/bit_setup_inc.php
index 2758e9d..f901303 100644
--- a/bit_setup_inc.php
+++ b/bit_setup_inc.php
@@ -30,5 +30,9 @@ if( $gBitSystem->isPackageActive( 'bitboards' ) ) {
'content_icon_tpl' => 'bitpackage:bitboards/bitboards_service_icons.tpl',
'content_list_sql_function' => 'bitboards_content_list_sql',
) );
+
+ function boards_get_topic_comment( $pThreadForwardSequence ) {
+ return( intval( substr( $pThreadForwardSequence, 0, 9 ) ) );
+ }
}
?>