[Vtigercrm-commits] [vtiger-commits] r6976 - in /vtigercrm/trunk/modules: Accounts/Account.php Contacts/Contact.php Leads/Lead.php Potentials/Opportunity.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Thu Jun 8 13:46:35 EDT 2006


Author: saraj
Date: Thu Jun  8 11:46:27 2006
New Revision: 6976

Log:
Removed the variables names corresponding to each module in field table - ahmed

Modified:
    vtigercrm/trunk/modules/Accounts/Account.php
    vtigercrm/trunk/modules/Contacts/Contact.php
    vtigercrm/trunk/modules/Leads/Lead.php
    vtigercrm/trunk/modules/Potentials/Opportunity.php

Modified: vtigercrm/trunk/modules/Accounts/Account.php
==============================================================================
--- vtigercrm/trunk/modules/Accounts/Account.php (original)
+++ vtigercrm/trunk/modules/Accounts/Account.php Thu Jun  8 11:46:27 2006
@@ -38,24 +38,9 @@
 	var $log;
 	var $db;
 
-
-	// Stored fields
-	var $id;
-	var $mode;
-
-	// These are for related fields
-	var $opportunity_id;
-	var $contact_id;
-	var $note_id;
-	var $email_id;
-	var $member_id;
-	var $parent_name;
-	var $assigned_user_name;
-
 	var $table_name = "account";
 	var $tab_name = Array('crmentity','account','accountbillads','accountshipads','accountscf');
 	var $tab_name_index = Array('crmentity'=>'crmid','account'=>'accountid','accountbillads'=>'accountaddressid','accountshipads'=>'accountaddressid','accountscf'=>'accountid');
-
 
 	var $entity_table = "crmentity";
 
@@ -92,10 +77,6 @@
 			'Assigned To'=>'assigned_user_id'
 			);
 	var $list_link_field= 'accountname';
-
-	var $record_id;
-	var $list_mode;
-	var $popup_type;
 
 	var $search_fields = Array(
 			'Account Name'=>Array('account'=>'accountname'),

Modified: vtigercrm/trunk/modules/Contacts/Contact.php
==============================================================================
--- vtigercrm/trunk/modules/Contacts/Contact.php (original)
+++ vtigercrm/trunk/modules/Contacts/Contact.php Thu Jun  8 11:46:27 2006
@@ -37,28 +37,9 @@
 	var $log;
 	var $db;
 
-	// Stored fields
-	var $id;
-	var $mode;
-
-	var $contactid;
-	
-
-	// These are for related fields
-	var $accountname;
-	var $accountid;
-	var $campaignid;
-	var $reports_to_name;
-	var $opportunity_id;
-	var $note_id;
-	var $email_id;
-	var $assigned_user_name;
-		
 	var $table_name = "contactdetails";
 	var $tab_name = Array('crmentity','contactdetails','contactaddress','contactsubdetails','contactscf','customerdetails','attachments');
 	var $tab_name_index = Array('crmentity'=>'crmid','contactdetails'=>'contactid','contactaddress'=>'contactaddressid','contactsubdetails'=>'contactsubscriptionid','contactscf'=>'contactid','customerdetails'=>'customerid','attachments'=>'attachmentsid');
-
-
 
 	var $module_id = "contactid";
 	var $object_name = "Contact";
@@ -124,10 +105,6 @@
 	'Phone' => 'phone',
 	'Assigned To' => 'assigned_user_id'
 	);
-
-	var $record_id;
-	var $list_mode;
-        var $popup_type;
 
 	var $search_fields = Array(
 	'Name' => Array('contactdetails'=>'lastname'),

Modified: vtigercrm/trunk/modules/Leads/Lead.php
==============================================================================
--- vtigercrm/trunk/modules/Leads/Lead.php (original)
+++ vtigercrm/trunk/modules/Leads/Lead.php Thu Jun  8 11:46:27 2006
@@ -27,54 +27,6 @@
 class Lead extends CRMEntity {
 	var $log;
 	var $db;
-
-	// Stored fields
-	var $leadid;
-	var $email;
-	var $firstname;
-	var $salutation;
-	var $lastname;
-	var $company;
-	var $annualrevenue;
-
-	var $industry;
-	var $campaign;
-	var $rating;
-	var $status;
-	var $leadsource;
-	var $designation;
-	var $licencekey;
-	var $region;
-	var $space;
-	var $comments;
-	var $priority;
-	var $partnercontact;
-	var $maildate;
-	var $nextstepdate;
-	var $fundingsituation;
-	var $deleted;
-
-	var $description;
-	// These are for related fields
-	var $city;
-	var $code;
-	var $state;
-	var $country;
-	var $phone;
-	var $mobile;
-	var $fax;
-	var $lane;
-	var $leadaddresstype;
-	var $currency;
-	var $website;
-	var $callornot;
-	var $readornot;
-	var $empct;
-
-	var $accountid;
-	var $contactid;
-	var $campaignid;
-	var $potentialid;
 
 	var $module_id = "leadid";
 
@@ -124,10 +76,6 @@
 		'Assigned To'=>'assigned_user_id'
 	);
 	var $list_link_field= 'lastname';
-
-	var $record_id;
-	var $list_mode;
-	var $popup_type;
 
 	var $search_fields = Array(
 		'Name'=>Array('leaddetails'=>'lastname'),

Modified: vtigercrm/trunk/modules/Potentials/Opportunity.php
==============================================================================
--- vtigercrm/trunk/modules/Potentials/Opportunity.php (original)
+++ vtigercrm/trunk/modules/Potentials/Opportunity.php Thu Jun  8 11:46:27 2006
@@ -35,14 +35,6 @@
 class Potential extends CRMEntity {
 	var $log;
 	var $db;
-	// Stored fields
-	var $id;
-	var $potentialid;
-	var $private;
-
-	var $stage;
-
-	var $deleted;
 
 	var $module_name="Potentials";
 	var $table_name = "potential";
@@ -79,10 +71,6 @@
 
 	var $list_link_field= 'potentialname';
 
-	var $record_id;
-	var $list_mode;
-	var $popup_type;
-
 	var $search_fields = Array(
 			'Potential'=>Array('potential'=>'potentialname'),
 			'Account Name'=>Array('potential'=>'accountid'),
@@ -114,8 +102,6 @@
 	}
 
 	var $new_schema = true;
-
-
 
 	function create_list_query($order_by, $where)
 	{





More information about the vtigercrm-commits mailing list