mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
Update app_defaults.php
This commit is contained in:
@@ -31,7 +31,9 @@ if ($domains_processed == 1) {
|
|||||||
$group->defaults();
|
$group->defaults();
|
||||||
|
|
||||||
//create the user view combines username, organization, contact first and last name
|
//create the user view combines username, organization, contact first and last name
|
||||||
$db->exec("DROP VIEW view_users;");
|
$database = new database;
|
||||||
|
$database->execute("DROP VIEW view_users;", null);
|
||||||
|
|
||||||
$sql = "CREATE VIEW view_users AS ( \n";
|
$sql = "CREATE VIEW view_users AS ( \n";
|
||||||
$sql .= " select u.domain_uuid, u.user_uuid, d.domain_name, u.username, u.user_enabled, u.add_date, \n";
|
$sql .= " select u.domain_uuid, u.user_uuid, d.domain_name, u.username, u.user_enabled, u.add_date, \n";
|
||||||
$sql .= " c.contact_uuid, c.contact_organization, c.contact_name_given, c.contact_name_family, \n";
|
$sql .= " c.contact_uuid, c.contact_organization, c.contact_name_given, c.contact_name_family, \n";
|
||||||
|
|||||||
Reference in New Issue
Block a user