[Vtigercrm-commits] [vtiger-commits] r7466 - /vtigercrm/trunk/modules/Users/DefaultDataPopulator.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Fri Jun 23 07:19:39 EDT 2006


Author: richie
Date: Fri Jun 23 05:19:35 2006
New Revision: 7466

Log:
Related List entries for User added

Modified:
    vtigercrm/trunk/modules/Users/DefaultDataPopulator.php

Modified: vtigercrm/trunk/modules/Users/DefaultDataPopulator.php
==============================================================================
--- vtigercrm/trunk/modules/Users/DefaultDataPopulator.php (original)
+++ vtigercrm/trunk/modules/Users/DefaultDataPopulator.php Fri Jun 23 05:19:35 2006
@@ -1817,6 +1817,15 @@
 	 $this->db->query("insert into vtiger_relatedlists values (".$this->db->getUniqueID('relatedlists').",".getTabid("Campaigns").",".getTabid("Potentials").",'get_opportunities',3,'Potentials',0)");
 	 $this->db->query("insert into vtiger_relatedlists values(".$this->db->getUniqueID('relatedlists').",".getTabid("Campaigns").",9,'get_activities',4,'Activities',0)");
 
+ //Inserting User Related Lists
+ 
+        $this->db->query("insert into vtiger_relatedlists values(".$this->db->getUniqueID('relatedlists').",".getTabid("Users").",".getTabid("Activities").",'get_activities',1,'Activities',0)");
+ 
+        $this->db->query("insert into vtiger_relatedlists values(".$this->db->getUniqueID('relatedlists').",".getTabid("Users").",".getTabid("Contacts").",'get_contacts',2,'Contacts',0)");
+ 
+        $this->db->query("insert into vtiger_relatedlists values(".$this->db->getUniqueID('relatedlists').",".getTabid("Users").",".getTabid("Users").",'get_user_groups',3,'Groups',0)");
+
+	 
                $this->db->query("insert into vtiger_notificationscheduler(schedulednotificationid,schedulednotificationname,active,notificationsubject,notificationbody,label) values (".$this->db->getUniqueID("notificationscheduler").",'LBL_TASK_NOTIFICATION_DESCRITPION',1,'Task Delay Notification','Tasks delayed beyond 24 hrs ','LBL_TASK_NOTIFICATION')");
 
 





More information about the vtigercrm-commits mailing list