X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmysql-manager.php;h=9aa35d0f2d7b07d3d9e39e2b69fda346afd3902b;hb=35e30db36415c79180aa2cacf7259883deef5584;hp=a82071dc9d05a7a52f2593a2304b43b6cff7dfc2;hpb=dbb6aa4eaeff7c3bab27f143d881781380d43d41;p=mailer.git diff --git a/inc/mysql-manager.php b/inc/mysql-manager.php index a82071dc9d..9aa35d0f2d 100644 --- a/inc/mysql-manager.php +++ b/inc/mysql-manager.php @@ -939,13 +939,6 @@ function sendModeMails ($mod, $modes) { loadTemplate('admin_settings_saved', false, $content); } -// Update module counter -function countModuleHit($mod) { - // Do count all other modules but not accesses on CSS file css.php! - SQL_QUERY_ESC("UPDATE `{?_MYSQL_PREFIX?}_mod_reg` SET `clicks`=`clicks`+1 WHERE `module`='%s' LIMIT 1", - array($mod), __FUNCTION__, __LINE__); -} - // Get action value from mode (admin/guest/member) and what-value function getModeAction ($mode, $what) { // Init status @@ -1123,7 +1116,7 @@ function removeReceiver (&$receivers, $key, $userid, $pool_id, $stats_id = '', $ function countSumTotalData ($search, $tableName, $lookFor = 'id', $whereStatement = 'userid', $countRows = false, $add = '') { $ret = 0; //* DEBUG: */ outputHtml($search.'/'.$tableName.'/'.$lookFor.'/'.$whereStatement.'/'.$add.'
'); - if ((empty($search)) && ($search != 0)) { + if ((empty($search)) && ($search != '0')) { // Count or sum whole table? if ($countRows === true) { // Count whole table