Changeset 436
- Timestamp:
- 10/08/2003 10:27:45 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/b2-include/b2functions.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/b2-include/b2functions.php
r411 r436 352 352 353 353 function get_lastpostdate() { 354 global $tableposts, $cache_lastpostdate, $use_cache, $time_difference, $pagenow, $wpdb ;354 global $tableposts, $cache_lastpostdate, $use_cache, $time_difference, $pagenow, $wpdb, $querycount; 355 355 if ((!isset($cache_lastpostdate)) OR (!$use_cache)) { 356 356 $now = date("Y-m-d H:i:s",(time() + ($time_difference * 3600))); … … 469 469 470 470 function get_alloptions() { 471 global $tableoptions, $wpdb ;471 global $tableoptions, $wpdb, $querycount; 472 472 $options = $wpdb->get_results("SELECT option_name, option_value FROM $tableoptions"); 473 473 ++$querycount;
Note: See TracChangeset
for help on using the changeset viewer.