[Vtigercrm-commits] [vtiger-commits] r7297 - /vtigercrm/trunk/install/5createTables.inc.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Tue Jun 20 08:43:17 EDT 2006
Author: richie
Date: Tue Jun 20 06:43:04 2006
New Revision: 7297
Log:
populated valid roles
Modified:
vtigercrm/trunk/install/5createTables.inc.php
Modified: vtigercrm/trunk/install/5createTables.inc.php
==============================================================================
--- vtigercrm/trunk/install/5createTables.inc.php (original)
+++ vtigercrm/trunk/install/5createTables.inc.php Tue Jun 20 06:43:04 2006
@@ -92,7 +92,7 @@
$admin_email ="admin at administrator.com";
$user->column_fields["email"] = $admin_email;
//to get the role id for standard_user
- $role_query = "select roleid from vtiger_role where rolename='administrator'";
+ $role_query = "select roleid from vtiger_role where rolename='CEO'";
$db->database->SetFetchMode(ADODB_FETCH_ASSOC);
$role_result = $db->query($role_query);
$role_id = $db->query_result($role_result,0,"roleid");
@@ -134,7 +134,7 @@
$std_email ="standarduser at standarduser.com";
$user->column_fields["email"] = $std_email;
//to get the role id for standard_user
- $role_query = "select roleid from vtiger_role where rolename='standard_user'";
+ $role_query = "select roleid from vtiger_role where rolename='Vice President'";
$db->database->SetFetchMode(ADODB_FETCH_ASSOC);
$role_result = $db->query($role_query);
$role_id = $db->query_result($role_result,0,"roleid");
More information about the vtigercrm-commits
mailing list