Require domain_uuid and user_uuid

This commit is contained in:
FusionPBX 2024-04-22 08:48:58 -06:00 committed by GitHub
parent b6f68533d1
commit bd2f0b7442
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
<?php
/*
* user class - use to store user groups, permissions and other values
* user class - used to store user groups, permissions, and other values
*/
class user {
@ -15,7 +15,7 @@ class user {
public $user_email;
public $contact_uuid;
public function __construct(database $database, $domain_uuid = null, $user_uuid = null) {
public function __construct(database $database, $domain_uuid, $user_uuid) {
//set the database variable
$this->database = $database;