summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorMax Kremmel <xing@synapse.plus.com>2007-06-01 16:01:33 +0000
committerMax Kremmel <xing@synapse.plus.com>2007-06-01 16:01:33 +0000
commit73811143a0a5d08387b7b41b94aeb34439e426a5 (patch)
tree256b63b90aa266f566a8c5b9eaec5177717c6bbf /modules
parenta33a85c5e34f4a02f4cd7cdaab87056b4412c86d (diff)
downloadwiki-73811143a0a5d08387b7b41b94aeb34439e426a5.tar.gz
wiki-73811143a0a5d08387b7b41b94aeb34439e426a5.tar.bz2
wiki-73811143a0a5d08387b7b41b94aeb34439e426a5.zip
clean up more stuff and finally get rid of wikilib and only create class where needed - wikilib is down to 4 or 5 functions now
Diffstat (limited to 'modules')
-rw-r--r--modules/mod_comm_received_objects.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/mod_comm_received_objects.php b/modules/mod_comm_received_objects.php
index 066a160..d27fcce 100644
--- a/modules/mod_comm_received_objects.php
+++ b/modules/mod_comm_received_objects.php
@@ -1,6 +1,6 @@
<?php
/**
- * $Header: /cvsroot/bitweaver/_bit_wiki/modules/mod_comm_received_objects.php,v 1.3 2005/08/01 18:42:06 squareing Exp $
+ * $Header: /cvsroot/bitweaver/_bit_wiki/modules/mod_comm_received_objects.php,v 1.4 2007/06/01 16:01:33 squareing Exp $
*
* Copyright (c) 2004 bitweaver.org
* Copyright (c) 2003 tikwiki.org
@@ -8,7 +8,7 @@
* All Rights Reserved. See copyright.txt for details and a complete list of authors.
* Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details
*
- * $Id: mod_comm_received_objects.php,v 1.3 2005/08/01 18:42:06 squareing Exp $
+ * $Id: mod_comm_received_objects.php,v 1.4 2007/06/01 16:01:33 squareing Exp $
* @package wiki
* @subpackage modules
*/
@@ -17,7 +17,7 @@
* required setup
*/
require_once( WIKI_PKG_PATH.'BitPage.php' );
-global $wikilib;
+$wikilib = new WikiLib();
$ranking = $wikilib->list_received_pages(0, -1, $sort_mode = 'title_asc', '');
$gBitSmarty->assign('modReceivedPages', $ranking["cant"]);
?>