// Checks if we have a statistics entry
function isStatsEntrySet ($entry) {
- // Do we have the entry?
+ // Is there the entry?
return (isset($GLOBALS['stats'][$entry]));
}
// Increments a statistics entry
function incrementStatsEntry ($entry, $amount=1) {
- // Do we have stats enabled?
+ // Is there stats enabled?
if ((!ifInternalStatsEnabled()) && ($entry != 'db_hits')) {
// Abort here
return;
// Check if the link is up
if (!SQL_IS_LINK_UP()) return false;
- // Do we have it there for today?
+ // Is it there for today?
if (!isStatsTableCreated()) {
// Then create a default one
createStatsTable();
$result = SQL_QUERY_ESC("SHOW TABLES LIKE '{?_MYSQL_PREFIX?}_stats_%s'",
array(generateDateTime(time(), '6')), __FUNCTION__, __LINE__);
- // Do we have a row?
+ // Is there a row?
return SQL_NUMROWS($result);
}