[Vtigercrm-commits] [vtiger-commits] r4103 - /vtigercrm/trunk/include/utils/CommonUtils.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Thu Mar 9 03:10:00 EST 2006
Author: saraj
Date: Thu Mar 9 01:09:57 2006
New Revision: 4103
Log:
Added function DefHomeView in commonutils
Modified:
vtigercrm/trunk/include/utils/CommonUtils.php
Modified: vtigercrm/trunk/include/utils/CommonUtils.php
==============================================================================
--- vtigercrm/trunk/include/utils/CommonUtils.php (original)
+++ vtigercrm/trunk/include/utils/CommonUtils.php Thu Mar 9 01:09:57 2006
@@ -1236,12 +1236,17 @@
return mkdir($dir, $mode);
}
return FALSE;
-
-}
+}
+
function DefHomeView()
{
global $adb;
global $current_user;
$query="select defhomeview from users where id = ".$current_user->id;
- $result=$adb->query($query); $defaultview=$adb->query_result($result,0,'defhomeview'); return $defaultview; }
+ $result=$adb->query($query);
+ $defaultview=$adb->query_result($result,0,'defhomeview');
+ return $defaultview;
+
+}
+
?>
More information about the vtigercrm-commits
mailing list