[Vtigercrm-commits] [vtiger-commits] r5563 - /vtigercrm/trunk/modules/Activities/Event.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Fri Apr 28 01:39:37 EDT 2006
Author: saraj
Date: Thu Apr 27 23:39:33 2006
New Revision: 5563
Log:
logs entries inserted in all functions
Modified:
vtigercrm/trunk/modules/Activities/Event.php
Modified: vtigercrm/trunk/modules/Activities/Event.php
==============================================================================
--- vtigercrm/trunk/modules/Activities/Event.php (original)
+++ vtigercrm/trunk/modules/Activities/Event.php Thu Apr 27 23:39:33 2006
@@ -86,14 +86,17 @@
function getCount($user_name)
{
+ global $log;
+ $log->debug("Entering getCount(".$user_name.") method ...");
$query = "select count(*) from tasks inner join users on users.id=tasks.assigned_user_id where user_name='" .$user_name ."' and tasks.deleted=0";
// echo "\n Query is " .$query ."\n";
$result = $this->db->query($query,true,"Error retrieving contacts count");
$rows_found = $this->db->getRowCount($result);
$row = $this->db->fetchByAssoc($result, 0);
+
-
+ $log->debug("Exiting getCount method ...");
return $row["count(*)"];
}
More information about the vtigercrm-commits
mailing list