diff options
| author | Max Kremmel <xing@synapse.plus.com> | 2006-02-02 09:14:14 +0000 |
|---|---|---|
| committer | Max Kremmel <xing@synapse.plus.com> | 2006-02-02 09:14:14 +0000 |
| commit | 07dfdf031ec045f40b2952536dd269eb30403c2e (patch) | |
| tree | 832da2f191c0e1acc3c30bc5b917828e986ec671 /index.php | |
| parent | ea63b7683ceb31c3a96f56ed4e5512a45a6865c6 (diff) | |
| download | stats-07dfdf031ec045f40b2952536dd269eb30403c2e.tar.gz stats-07dfdf031ec045f40b2952536dd269eb30403c2e.tar.bz2 stats-07dfdf031ec045f40b2952536dd269eb30403c2e.zip | |
remove unused code
Diffstat (limited to 'index.php')
| -rw-r--r-- | index.php | 50 |
1 files changed, 2 insertions, 48 deletions
@@ -1,6 +1,6 @@ <?php /** - * $Header: /cvsroot/bitweaver/_bit_stats/index.php,v 1.4 2005/12/26 12:26:04 squareing Exp $ + * $Header: /cvsroot/bitweaver/_bit_stats/index.php,v 1.5 2006/02/02 09:14:14 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: index.php,v 1.4 2005/12/26 12:26:04 squareing Exp $ + * $Id: index.php,v 1.5 2006/02/02 09:14:14 squareing Exp $ * @package stats * @subpackage functions */ @@ -50,20 +50,6 @@ if ($gBitSystem->isPackageActive( 'wiki' ) ) { } $gBitSmarty->assign_by_ref('wiki_stats', $wiki_stats); -if ($gBitSystem->isPackageActive( 'imagegals' ) ) { - $igal_stats = $statslib->image_gal_stats(); -} else { - $igal_stats = false; -} -$gBitSmarty->assign_by_ref('igal_stats', $igal_stats); - -if ($gBitSystem->isPackageActive( 'filegals' ) ) { - $fgal_stats = $statslib->file_gal_stats(); -} else { - $fgal_stats = false; -} -$gBitSmarty->assign_by_ref('fgal_stats', $fgal_stats); - if ($gBitSystem->isPackageActive( 'articles' ) ) { $cms_stats = $statslib->cms_stats(); } else { @@ -71,13 +57,6 @@ if ($gBitSystem->isPackageActive( 'articles' ) ) { } $gBitSmarty->assign_by_ref('cms_stats', $cms_stats); -if ($gBitSystem->isPackageActive( 'forums' ) ) { - $forum_stats = $statslib->forum_stats(); -} else { - $forum_stats = false; -} -$gBitSmarty->assign_by_ref('forum_stats', $forum_stats); - if ($gBitSystem->isPackageActive( 'blogs' ) ) { $blog_stats = $statslib->blog_stats(); } else { @@ -85,37 +64,12 @@ if ($gBitSystem->isPackageActive( 'blogs' ) ) { } $gBitSmarty->assign_by_ref('blog_stats', $blog_stats); -if ($gBitSystem->isPackageActive( 'polls' ) ) { - $poll_stats = $statslib->poll_stats(); -} else { - $poll_stats = false; -} -$gBitSmarty->assign_by_ref('poll_stats', $poll_stats); - -if ($gBitSystem->isPackageActive( 'faqs' ) ) { - $faq_stats = $statslib->faq_stats(); -} else { - $faq_stats = false; -} -$gBitSmarty->assign_by_ref('faq_stats', $faq_stats); - -if ($gBitSystem->isPackageActive( 'quizzes' ) ) { - $quiz_stats = $statslib->quiz_stats(); -} else { - $quiz_stats = false; -} -$gBitSmarty->assign_by_ref('quiz_stats', $quiz_stats); - - $user_stats = $statslib->user_stats(); $gBitSmarty->assign_by_ref('user_stats', $user_stats); $site_stats = $statslib->site_stats(); $gBitSmarty->assign_by_ref('site_stats', $site_stats); - - // Display the template $gBitSystem->display( 'bitpackage:stats/stats.tpl', tra( "Statistics" ) ); - ?> |
