|
@@ -198,7 +198,7 @@ if (!class_exists('permissions')) {
|
|
|
/**
|
|
|
* Returns a new permission object
|
|
|
*/
|
|
|
- public static function new($database, $domain_uuid, $user_uuid) {
|
|
|
+ public static function new($database = null, $domain_uuid = null, $user_uuid = null) {
|
|
|
if (self::$permission === null) {
|
|
|
self::$permission = new permissions($database, $domain_uuid, $user_uuid);
|
|
|
}
|