[Vtigercrm-commits] [vtiger-commits] r4080 - /vtigercrm/trunk/include/utils/CommonUtils.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Wed Mar 8 10:40:51 EST 2006
Author: saraj
Date: Wed Mar 8 08:40:47 2006
New Revision: 4080
Log:
Added new 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 Wed Mar 8 08:40:47 2006
@@ -1236,6 +1236,12 @@
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; }
?>
More information about the vtigercrm-commits
mailing list