From 34d95d594d92749be08924122a52fe6fa28cae1d Mon Sep 17 00:00:00 2001
From: shish <shish@7f39781d-f577-437e-ae19-be835c7a54ca>
Date: Thu, 12 Jul 2007 07:26:50 +0000
Subject: [PATCH] make this look more like an internal function

git-svn-id: file:///home/shish/svn/shimmie2/trunk@261 7f39781d-f577-437e-ae19-be835c7a54ca
---
 core/util.inc.php | 2 +-
 index.php         | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/core/util.inc.php b/core/util.inc.php
index 8254e37a..736174ca 100644
--- a/core/util.inc.php
+++ b/core/util.inc.php
@@ -144,7 +144,7 @@ function get_thumbnail_size($orig_width, $orig_height) {
 }
 
 # $db is the connection object
-function CountExecs($db, $sql, $inputarray) {
+function _count_execs($db, $sql, $inputarray) {
 	global $_execs;
 	if(DEBUG) {
 		$fp = fopen("sql.log", "a");
diff --git a/index.php b/index.php
index e20eac23..02f397e4 100644
--- a/index.php
+++ b/index.php
@@ -31,7 +31,7 @@ foreach($files as $filename) {
 }
 
 $database = new Database();
-$database->db->fnExecute = 'CountExecs';
+$database->db->fnExecute = '_count_execs';
 $config = new Config();
 $_theme = $config->get_string("theme", "default");
 require_once "themes/$_theme/page.class.php";