[Vtigercrm-commits] [vtiger-commits] r4446 - /vtigercrm/trunk/modules/Activities/Event.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Mon Mar 27 04:47:44 EST 2006
Author: saraj
Date: Mon Mar 27 02:47:40 2006
New Revision: 4446
Log:
Functions not in use cleaned up
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 Mon Mar 27 02:47:40 2006
@@ -95,51 +95,6 @@
return "$this->name";
}
- function create_list_query(&$order_by, &$where)
- {
- $contact_required = ereg("contacts", $where);
-
- if($contact_required)
- {
- $query = "SELECT task.taskid, tasks.assigned_user_id, task.status, task.name, task.parent_type, tasks.parent_id, tasks.contact_id, tasks.datedue, contactdetails.firstname, contactdetails.lastname ,task.priority,task.description FROM contactdetails, task ";
- $where_auto = "task.contact_id = contactdetails.contactid AND task.deleted=0 AND contact.deleted=0";
- }
- else
- {
- $query = 'SELECT taskid, smcreatorid, task.status, duedate ,priority FROM task inner join crmentity on crmentity.crmid=task.taskid ';
- $where_auto = " AND deleted=0";
- }
-
- if($where != "")
- $query .= "where $where ".$where_auto;
- else
- $query .= "where ".$where_auto;
-
- if($order_by != "")
- $query .= " ORDER BY $order_by";
- else
- //$query .= " ORDER BY name";
- return $query;
-
- }
-
- function create_export_query(&$order_by, &$where)
- {
- $contact_required = ereg("contacts", $where);
-
- if($contact_required)
- {
- $query = "SELECT task.*, contactdetailss.firstname, contactdetails.lastname FROM task inner join seactivityrel on seactivityrel.activityid=task.taskid inner join crmentity on crmentity.crmid=task.taskid and crmentity.deleted=0";
- }
- else
- {
- $query = 'SELECT * FROM task inner join seactivityrel on seactivityrel.activityid=task.taskid inner join crmentity on crmentity.crmid=task.taskid and crmentity.deleted=0';
- }
- return $query;
-
- }
-
-
function fill_in_additional_list_fields()
{
More information about the vtigercrm-commits
mailing list