[Vtigercrm-commits] [vtiger-commits] r7672 - /vtigercrm/trunk/modules/Users/User.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Thu Jun 29 10:17:30 EDT 2006
Author: saraj
Date: Thu Jun 29 08:17:26 2006
New Revision: 7672
Log:
get_activities and get_contacts functions are removed
Modified:
vtigercrm/trunk/modules/Users/User.php
Modified: vtigercrm/trunk/modules/Users/User.php
==============================================================================
--- vtigercrm/trunk/modules/Users/User.php (original)
+++ vtigercrm/trunk/modules/Users/User.php Thu Jun 29 08:17:26 2006
@@ -819,48 +819,6 @@
return;
}
-
-
-
-
-
-
-
-//Function Call for Related List -- Start
- function get_contacts($id)
- {
- global $log;
- $log->debug("Entering get_contacts(".$id.") method ...");
- global $app_strings;
-
- $focus = new Contact();
-
-
-
- $button = '';
- $query = 'select vtiger_contactdetails.*, vtiger_crmentity.* from vtiger_contactdetails inner join vtiger_crmentity on vtiger_crmentity.crmid=vtiger_contactdetails.contactid where vtiger_crmentity.smownerid='.$id.' and vtiger_crmentity.deleted=0';
- $log->debug("Exiting get_contacts method ...");
- return GetRelatedList('Users','Contacts',$focus,$query,$button,$returnset);
- }
-
-
-
-
-//Function Call for Related List -- Start
- function get_activities($id)
- {
- global $log;
- $log->debug("Entering get_contacts(".$id.") method ...");
- global $app_strings;
-
- $focus = new Activity();
-
- $button = '';
- $query = 'select vtiger_activity.* from vtiger_activity inner join vtiger_crmentity on vtiger_crmentity.crmid=vtiger_activity.activityid where vtiger_crmentity.smownerid='.$id.' and (vtiger_activity.activitytype="Meeting" || vtiger_activity.activitytype="Task" || vtiger_activity.activitytype="Call" ) and vtiger_crmentity.deleted=0';
- $log->debug("Exiting get_contacts method ...");
- return GetRelatedList('Users','Activities',$focus,$query,$button,$returnset);
- }
-
function save($module_name)
{
global $log;
More information about the vtigercrm-commits
mailing list