소스 검색

Use the static permissions new method

FusionPBX 8 달 전
부모
커밋
c5451e5c90
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app_defaults.php

+ 1 - 1
app_defaults.php

@@ -56,7 +56,7 @@
 		//add the missing email templates
 		if (!empty($array['email_templates'])) {
 			//add the temporary permission
-			$p = new permissions;
+			$p = permissions::new();
 			$p->add("email_template_add", 'temp');
 			$p->add("email_template_edit", 'temp');