[Vtigercrm-commits] [vtiger-commits] r9474 - /vtigercrm/trunk/modules/Users/SaveProfile.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Tue Sep 12 19:00:58 EDT 2006
Author: jerrydgeorge
Date: Tue Sep 12 17:00:30 2006
New Revision: 9474
Log:
Seperate handling for Faq module removed as it comes under common code --Jeri
Modified:
vtigercrm/trunk/modules/Users/SaveProfile.php
Modified: vtigercrm/trunk/modules/Users/SaveProfile.php
==============================================================================
--- vtigercrm/trunk/modules/Users/SaveProfile.php (original)
+++ vtigercrm/trunk/modules/Users/SaveProfile.php Tue Sep 12 17:00:30 2006
@@ -55,7 +55,7 @@
{
$tab_id = $adb->query_result($tab_perr_result,$i,"tabid");
$request_var = $tab_id.'_tab';
- if($tab_id != 3 && $tab_id != 16 && $tab_id != 15)
+ if($tab_id != 3 && $tab_id != 16)
{
$permission = $_REQUEST[$request_var];
if($permission == 'on')
@@ -74,16 +74,6 @@
$sql4="insert into vtiger_profile2tab values(".$profileid.",16, ".$permission_value.")";
$adb->query($sql4);
}
- }
- elseif($tab_id == 13)
- {
- $sql4="insert into vtiger_profile2tab values(".$profileid.",13,0)";
- $adb->query($sql4);
- }
- elseif($tab_id == 15)
- {
- $sql4="insert into vtiger_profile2tab values(".$profileid.",15,0)";
- $adb->query($sql4);
}
}
@@ -92,7 +82,7 @@
{
$tab_id = $adb->query_result($act_perr_result,$i,"tabid");
$action_id = $adb->query_result($act_perr_result,$i,"operation");
- if($tab_id != 16 && $tab_id != 15)
+ if($tab_id != 16)
{
$action_name = getActionname($action_id);
if($action_name == 'EditView' || $action_name == 'Delete' || $action_name == 'DetailView')
@@ -129,12 +119,6 @@
- }
- elseif($tab_id == 15)
- {
-
- $sql7="insert into vtiger_profile2standardpermissions values(".$profileid.", 15, ".$action_id.",0)";
- $adb->query($sql7);
}
}
More information about the vtigercrm-commits
mailing list