Diff of /mambo/branches/4.5.4/modules/mod_latestnews.php
Parent Directory
|
Revision Log
|
Patch
| revision 88, Sat Dec 31 09:08:17 2005 UTC | revision 89, Sat Dec 31 10:56:58 2005 UTC | |
|---|---|---|
| # | Line 73 | Line 73 |
| 73 | ||
| 74 | // needed to reduce queries used by getItemid for Content Items | // needed to reduce queries used by getItemid for Content Items |
| 75 | if ( ( $type == 1 ) || ( $type == 3 ) ) { | if ( ( $type == 1 ) || ( $type == 3 ) ) { |
| 76 | $bs = $mainframe->getBlogSectionCount(); | require_once(mamboCore::get('mosConfig_absolute_path').'/components/com_content/content.class.php'); |
| 77 | $bc = $mainframe->getBlogCategoryCount(); | $handler =& new contentHandler(); |
| 78 | $gbs = $mainframe->getGlobalBlogSectionCount(); | $bs = $handler->getBlogSectionCount(); |
| 79 | $bc = $handler->getBlogCategoryCount(); | |
| 80 | $gbs = $handler->getGlobalBlogSectionCount(); | |
| 81 | } | } |
| 82 | ||
| 83 | // Output | // Output |
|
||||||||
| ViewVC Help | |
| Powered by ViewVC 1.0.0 |
Web Hosting provided by Network Redux.

