[Vtigercrm-commits] [vtiger-commits] r5379 - /vtigercrm/trunk/modules/Invoice/DetailView.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Wed Apr 26 08:51:01 EDT 2006


Author: don
Date: Wed Apr 26 06:50:55 2006
New Revision: 5379

Log:
Removed call to tabPerData

Modified:
    vtigercrm/trunk/modules/Invoice/DetailView.php

Modified: vtigercrm/trunk/modules/Invoice/DetailView.php
==============================================================================
--- vtigercrm/trunk/modules/Invoice/DetailView.php (original)
+++ vtigercrm/trunk/modules/Invoice/DetailView.php Wed Apr 26 06:50:55 2006
@@ -67,7 +67,6 @@
 $category = getParentTab();
 $smarty->assign("CATEGORY",$category);
 
-$permissionData = $_SESSION['action_permission_set'];
 if(isPermitted("Invoice",1,$_REQUEST['record']) == 'yes')
 	$smarty->assign("EDIT_DUPLICATE","permitted");
 
@@ -76,11 +75,6 @@
 if(isPermitted("Invoice",2,$_REQUEST['record']) == 'yes')
 	$smarty->assign("DELETE","permitted");
 
-//Security check for related list
-global $profile_id;
-$tab_per_Data = getAllTabsPermission($profile_id);
-$permissionData = $_SESSION['action_permission_set'];
-
 //Get the associated Products and then display above Terms and Conditions
 $smarty->assign("ASSOCIATED_PRODUCTS",getDetailAssociatedProducts('Invoice',$focus));
 





More information about the vtigercrm-commits mailing list