[Vtigercrm-commits] [vtiger-commits] r5380 - /vtigercrm/trunk/modules/Products/DetailView.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Wed Apr 26 08:53:28 EDT 2006


Author: don
Date: Wed Apr 26 06:53:24 2006
New Revision: 5380

Log:
Removed call to tabPerData

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

Modified: vtigercrm/trunk/modules/Products/DetailView.php
==============================================================================
--- vtigercrm/trunk/modules/Products/DetailView.php (original)
+++ vtigercrm/trunk/modules/Products/DetailView.php Wed Apr 26 06:53:24 2006
@@ -50,7 +50,6 @@
 $smarty->assign("CUSTOMFIELD", $cust_fld);
 $smarty->assign("SINGLE_MOD","Product");
 
-$permissionData = $_SESSION['action_permission_set'];
 if(isPermitted("Products",1,$_REQUEST['record']) == 'yes')
 	$smarty->assign("EDIT_DUPLICATE","permitted");
 
@@ -62,9 +61,6 @@
 $smarty->assign("ID", $_REQUEST['record']);
 
 //Security check for related list
-global $profile_id;
-$tab_per_Data = getAllTabsPermission($profile_id);
-$permissionData = $_SESSION['action_permission_set'];
 $smarty->assign("MODULE", $module);
 $smarty->display("DetailView.tpl");
 





More information about the vtigercrm-commits mailing list