[Vtigercrm-commits] [vtiger-commits] r7049 - in /vtigercrm/trunk/modules: Activities/ Campaigns/ Emails/ Faq/ HelpDesk/ Invoice/ Notes/ PriceBooks/ Products/ PurchaseOrder/ Quotes/ Rss/ SalesOrder/ Vendors/
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Tue Jun 13 10:28:02 EDT 2006
Author: saraj
Date: Tue Jun 13 08:27:44 2006
New Revision: 7049
Log:
Removed the junk variables from all module.php - ahmed
Modified:
vtigercrm/trunk/modules/Activities/Activity.php
vtigercrm/trunk/modules/Campaigns/Campaign.php
vtigercrm/trunk/modules/Emails/Email.php
vtigercrm/trunk/modules/Faq/Faq.php
vtigercrm/trunk/modules/HelpDesk/HelpDesk.php
vtigercrm/trunk/modules/Invoice/Invoice.php
vtigercrm/trunk/modules/Notes/Note.php
vtigercrm/trunk/modules/PriceBooks/PriceBook.php
vtigercrm/trunk/modules/Products/Product.php
vtigercrm/trunk/modules/PurchaseOrder/PurchaseOrder.php
vtigercrm/trunk/modules/Quotes/Quote.php
vtigercrm/trunk/modules/Rss/Rss.php
vtigercrm/trunk/modules/SalesOrder/SalesOrder.php
vtigercrm/trunk/modules/Vendors/Vendor.php
Modified: vtigercrm/trunk/modules/Activities/Activity.php
==============================================================================
--- vtigercrm/trunk/modules/Activities/Activity.php (original)
+++ vtigercrm/trunk/modules/Activities/Activity.php Tue Jun 13 08:27:44 2006
@@ -32,20 +32,6 @@
var $log;
var $db;
- // Stored vtiger_fields
- var $eventid;
- var $description;
- var $firstname;
- var $lastname;
- var $setype;
- var $status;
- var $date_start;
- var $time_start;
- var $priority;
- var $sendnotification;
- var $duration_hours;
- var $duration_minutes;
-
var $table_name = "activity";
#var $object_name = "activity";
// Mike Crowe Mod --------------------------------------------------------Renamed to match vtiger_tab
@@ -54,7 +40,6 @@
var $base_table_name = "activity";
var $cf_table_name = "";
var $module_id = "activityid";
-
var $reminder_table = "activity_reminder";
Modified: vtigercrm/trunk/modules/Campaigns/Campaign.php
==============================================================================
--- vtigercrm/trunk/modules/Campaigns/Campaign.php (original)
+++ vtigercrm/trunk/modules/Campaigns/Campaign.php Tue Jun 13 08:27:44 2006
@@ -25,9 +25,6 @@
var $log;
var $db;
- // Stored vtiger_fields
- var $id;
- var $mode;
var $tab_name = Array('vtiger_crmentity','vtiger_campaign','vtiger_campaignscf');
var $tab_name_index = Array('vtiger_crmentity'=>'crmid','vtiger_campaign'=>'campaignid','vtiger_campaignscf'=>'campaignid');
Modified: vtigercrm/trunk/modules/Emails/Email.php
==============================================================================
--- vtigercrm/trunk/modules/Emails/Email.php (original)
+++ vtigercrm/trunk/modules/Emails/Email.php Tue Jun 13 08:27:44 2006
@@ -36,14 +36,6 @@
var $db;
// Stored vtiger_fields
- var $id;
- var $mode;
-
- var $emailid;
- var $description;
- var $name;
- var $date_start;
- var $time_start;
var $module_id="emailid";
var $rel_users_table = "vtiger_salesmanactivityrel";
Modified: vtigercrm/trunk/modules/Faq/Faq.php
==============================================================================
--- vtigercrm/trunk/modules/Faq/Faq.php (original)
+++ vtigercrm/trunk/modules/Faq/Faq.php Tue Jun 13 08:27:44 2006
@@ -33,10 +33,6 @@
var $log;
var $db;
- // Stored vtiger_fields
- var $id;
- var $mode;
-
var $tab_name = Array('vtiger_crmentity','vtiger_faq','vtiger_faqcomments');
var $tab_name_index = Array('vtiger_crmentity'=>'crmid','vtiger_faq'=>'id','vtiger_faqcomments'=>'faqid');
@@ -65,9 +61,6 @@
'Modified Time'=>'modifiedtime'
);
var $list_link_field= 'question';
-
- var $list_mode;
- var $popup_type;
var $search_fields = Array(
'Account Name'=>Array('account'=>'accountname'),
Modified: vtigercrm/trunk/modules/HelpDesk/HelpDesk.php
==============================================================================
--- vtigercrm/trunk/modules/HelpDesk/HelpDesk.php (original)
+++ vtigercrm/trunk/modules/HelpDesk/HelpDesk.php Tue Jun 13 08:27:44 2006
@@ -23,11 +23,6 @@
class HelpDesk extends CRMEntity {
var $log;
var $db;
-
-
- // Stored vtiger_fields
- var $id;
- var $mode;
var $tab_name = Array('vtiger_crmentity','vtiger_troubletickets','vtiger_seticketsrel','vtiger_ticketcf','vtiger_ticketcomments','vtiger_attachments');
var $tab_name_index = Array('vtiger_crmentity'=>'crmid','vtiger_troubletickets'=>'ticketid','vtiger_seticketsrel'=>'ticketid','vtiger_ticketcf'=>'ticketid','vtiger_ticketcomments'=>'ticketid','vtiger_attachments'=>'attachmentsid');
Modified: vtigercrm/trunk/modules/Invoice/Invoice.php
==============================================================================
--- vtigercrm/trunk/modules/Invoice/Invoice.php (original)
+++ vtigercrm/trunk/modules/Invoice/Invoice.php Tue Jun 13 08:27:44 2006
@@ -32,12 +32,6 @@
class Invoice extends CRMEntity {
var $log;
var $db;
-
-
- // Stored vtiger_fields
- var $id;
- var $mode;
-
var $table_name = "vtiger_invoice";
var $tab_name = Array('vtiger_crmentity','vtiger_invoice','vtiger_invoicebillads','vtiger_invoiceshipads','vtiger_invoicecf');
@@ -80,10 +74,6 @@
'Assigned To'=>'assigned_user_id'
);
var $list_link_field= 'subject';
-
- var $record_id;
- var $list_mode;
- var $popup_type;
var $search_fields = Array(
'Invoice Id'=>Array('crmentity'=>'crmid'),
Modified: vtigercrm/trunk/modules/Notes/Note.php
==============================================================================
--- vtigercrm/trunk/modules/Notes/Note.php (original)
+++ vtigercrm/trunk/modules/Notes/Note.php Tue Jun 13 08:27:44 2006
@@ -32,22 +32,6 @@
var $log;
var $db;
- // Stored vtiger_fields
- var $id;
- var $mode;
-
- var $notesid;
- var $description;
- var $name;
- var $filename;
- var $parent_type;
- var $parent_id;
- var $contact_id;
-
- var $parent_name;
- var $contact_name;
- var $contact_phone;
- var $contact_email;
var $required_fields = array("name"=>1);
var $default_note_name_dom = array('Meeting vtiger_notes', 'Reminder');
Modified: vtigercrm/trunk/modules/PriceBooks/PriceBook.php
==============================================================================
--- vtigercrm/trunk/modules/PriceBooks/PriceBook.php (original)
+++ vtigercrm/trunk/modules/PriceBooks/PriceBook.php Tue Jun 13 08:27:44 2006
@@ -21,11 +21,6 @@
var $log;
var $db;
-
- // Stored vtiger_fields
- var $id;
- var $mode;
-
var $tab_name = Array('vtiger_crmentity','vtiger_pricebook','vtiger_pricebookcf');
var $tab_name_index = Array('vtiger_crmentity'=>'crmid','vtiger_pricebook'=>'pricebookid','vtiger_pricebookcf'=>'pricebookid');
var $column_fields = Array();
@@ -42,10 +37,6 @@
'Active'=>'active'
);
var $list_link_field= 'bookname';
-
-
- var $list_mode;
- var $popup_type;
var $search_fields = Array(
'Price Book Name'=>Array('pricebook'=>'bookname')
Modified: vtigercrm/trunk/modules/Products/Product.php
==============================================================================
--- vtigercrm/trunk/modules/Products/Product.php (original)
+++ vtigercrm/trunk/modules/Products/Product.php Tue Jun 13 08:27:44 2006
@@ -21,17 +21,6 @@
var $log;
var $db;
-
- // Stored vtiger_fields
- var $id;
- var $mode;
-
- // These are related
- var $name;
- var $vendorid;
- var $contactname;
- var $contactid;
-
// Josh added for importing and exporting -added in patch2
var $unit_price;
var $table_name = "products";
@@ -64,10 +53,6 @@
'Unit Price'=>'unit_price'
);
var $list_link_field= 'productname';
-
-
- var $list_mode;
- var $popup_type;
var $search_fields = Array(
'Product Name'=>Array('products'=>'productname'),
Modified: vtigercrm/trunk/modules/PurchaseOrder/PurchaseOrder.php
==============================================================================
--- vtigercrm/trunk/modules/PurchaseOrder/PurchaseOrder.php (original)
+++ vtigercrm/trunk/modules/PurchaseOrder/PurchaseOrder.php Tue Jun 13 08:27:44 2006
@@ -32,17 +32,10 @@
class Order extends CRMEntity {
var $log;
var $db;
-
-
- // Stored vtiger_fields
- var $id;
- var $mode;
-
var $table_name = "purchaseorder";
var $tab_name = Array('vtiger_crmentity','vtiger_purchaseorder','vtiger_pobillads','vtiger_poshipads','vtiger_purchaseordercf');
var $tab_name_index = Array('vtiger_crmentity'=>'crmid','vtiger_purchaseorder'=>'purchaseorderid','vtiger_pobillads'=>'pobilladdressid','vtiger_poshipads'=>'poshipaddressid','vtiger_purchaseordercf'=>'purchaseorderid');
-
var $entity_table = "vtiger_crmentity";
@@ -78,10 +71,6 @@
'Assigned To'=>'assigned_user_id'
);
var $list_link_field= 'subject';
-
- var $record_id;
- var $list_mode;
- var $popup_type;
var $search_fields = Array(
'Order Id'=>Array('crmentity'=>'crmid'),
Modified: vtigercrm/trunk/modules/Quotes/Quote.php
==============================================================================
--- vtigercrm/trunk/modules/Quotes/Quote.php (original)
+++ vtigercrm/trunk/modules/Quotes/Quote.php Tue Jun 13 08:27:44 2006
@@ -32,17 +32,10 @@
class Quote extends CRMEntity {
var $log;
var $db;
-
-
- // Stored vtiger_fields
- var $id;
- var $mode;
-
var $table_name = "quotes";
var $tab_name = Array('vtiger_crmentity','vtiger_quotes','vtiger_quotesbillads','vtiger_quotesshipads','vtiger_quotescf');
var $tab_name_index = Array('vtiger_crmentity'=>'crmid','vtiger_quotes'=>'quoteid','vtiger_quotesbillads'=>'quotebilladdressid','vtiger_quotesshipads'=>'quoteshipaddressid','vtiger_quotescf'=>'quoteid');
-
var $entity_table = "crmentity";
@@ -82,10 +75,6 @@
'Assigned To'=>'assigned_user_id'
);
var $list_link_field= 'subject';
-
- var $record_id;
- var $list_mode;
- var $popup_type;
var $search_fields = Array(
'Quote Id'=>Array('crmentity'=>'crmid'),
Modified: vtigercrm/trunk/modules/Rss/Rss.php
==============================================================================
--- vtigercrm/trunk/modules/Rss/Rss.php (original)
+++ vtigercrm/trunk/modules/Rss/Rss.php Tue Jun 13 08:27:44 2006
@@ -27,12 +27,7 @@
class vtigerRSS extends CRMEntity
{
- var $rss;
var $rsscache_time = 1200;
- var $rss_object;
- var $rss_title;
- var $rss_link;
-
/** Function to get the Rss Feeds from the Given URL
* This Function accepts the url string as the argument
Modified: vtigercrm/trunk/modules/SalesOrder/SalesOrder.php
==============================================================================
--- vtigercrm/trunk/modules/SalesOrder/SalesOrder.php (original)
+++ vtigercrm/trunk/modules/SalesOrder/SalesOrder.php Tue Jun 13 08:27:44 2006
@@ -33,16 +33,9 @@
var $log;
var $db;
-
- // Stored vtiger_fields
- var $id;
- var $mode;
-
-
var $table_name = "salesorder";
var $tab_name = Array('vtiger_crmentity','vtiger_salesorder','vtiger_sobillads','vtiger_soshipads','vtiger_salesordercf');
var $tab_name_index = Array('vtiger_crmentity'=>'crmid','vtiger_salesorder'=>'salesorderid','vtiger_sobillads'=>'sobilladdressid','vtiger_soshipads'=>'soshipaddressid','vtiger_salesordercf'=>'salesorderid');
-
var $entity_table = "crmentity";
@@ -80,10 +73,6 @@
'Assigned To'=>'assigned_user_id'
);
var $list_link_field= 'subject';
-
- var $record_id;
- var $list_mode;
- var $popup_type;
var $search_fields = Array(
'Order Id'=>Array('crmentity'=>'crmid'),
Modified: vtigercrm/trunk/modules/Vendors/Vendor.php
==============================================================================
--- vtigercrm/trunk/modules/Vendors/Vendor.php (original)
+++ vtigercrm/trunk/modules/Vendors/Vendor.php Tue Jun 13 08:27:44 2006
@@ -21,11 +21,6 @@
var $log;
var $db;
-
- // Stored vtiger_fields
- var $id;
- var $mode;
-
var $tab_name = Array('vtiger_crmentity','vtiger_vendor','vtiger_vendorcf');
var $tab_name_index = Array('vtiger_crmentity'=>'crmid','vtiger_vendor'=>'vendorid','vtiger_vendorcf'=>'vendorid');
var $column_fields = Array();
@@ -46,10 +41,6 @@
'Category'=>'category'
);
var $list_link_field= 'vendorname';
-
-
- var $list_mode;
- var $popup_type;
var $search_fields = Array(
'Vendor Name'=>Array('vendor'=>'vendorname'),
More information about the vtigercrm-commits
mailing list