@@ -455,7 +455,7 @@ public function sites_web_vhost_aliasdomain_get($session_id, $primary_id)
455455 {
456456 global $ app ;
457457
458- if (!$ this ->checkPerm ($ session_id , 'sites_web_aliasdomain_get ' )) {
458+ if (!$ this ->checkPerm ($ session_id , 'sites_web_vhost_aliasdomain_get ' )) {
459459 throw new SoapFault ('permission_denied ' , 'You do not have the permissions to access this function. ' );
460460 return false ;
461461 }
@@ -468,7 +468,7 @@ public function sites_web_vhost_aliasdomain_get($session_id, $primary_id)
468468 public function sites_web_vhost_aliasdomain_add ($ session_id , $ client_id , $ params )
469469 {
470470 global $ app ;
471- if (!$ this ->checkPerm ($ session_id , 'sites_web_aliasdomain_add ' )) {
471+ if (!$ this ->checkPerm ($ session_id , 'sites_web_vhost_aliasdomain_add ' )) {
472472 throw new SoapFault ('permission_denied ' , 'You do not have the permissions to access this function. ' );
473473 return false ;
474474 }
@@ -491,7 +491,7 @@ public function sites_web_vhost_aliasdomain_add($session_id, $client_id, $params
491491 //* Update a record
492492 public function sites_web_vhost_aliasdomain_update ($ session_id , $ client_id , $ primary_id , $ params )
493493 {
494- if (!$ this ->checkPerm ($ session_id , 'sites_web_aliasdomain_update ' )) {
494+ if (!$ this ->checkPerm ($ session_id , 'sites_web_vhost_aliasdomain_update ' )) {
495495 throw new SoapFault ('permission_denied ' , 'You do not have the permissions to access this function. ' );
496496 return false ;
497497 }
@@ -509,7 +509,7 @@ public function sites_web_vhost_aliasdomain_update($session_id, $client_id, $pri
509509 //* Delete a record
510510 public function sites_web_vhost_aliasdomain_delete ($ session_id , $ primary_id )
511511 {
512- if (!$ this ->checkPerm ($ session_id , 'sites_web_aliasdomain_delete ' )) {
512+ if (!$ this ->checkPerm ($ session_id , 'sites_web_vhost_aliasdomain_delete ' )) {
513513 throw new SoapFault ('permission_denied ' , 'You do not have the permissions to access this function. ' );
514514 return false ;
515515 }
@@ -524,7 +524,7 @@ public function sites_web_vhost_subdomain_get($session_id, $primary_id)
524524 {
525525 global $ app ;
526526
527- if (!$ this ->checkPerm ($ session_id , 'sites_web_subdomain_get ' )) {
527+ if (!$ this ->checkPerm ($ session_id , 'sites_web_vhost_subdomain_get ' )) {
528528 throw new SoapFault ('permission_denied ' , 'You do not have the permissions to access this function. ' );
529529 return false ;
530530 }
@@ -537,7 +537,7 @@ public function sites_web_vhost_subdomain_get($session_id, $primary_id)
537537 public function sites_web_vhost_subdomain_add ($ session_id , $ client_id , $ params )
538538 {
539539 global $ app ;
540- if (!$ this ->checkPerm ($ session_id , 'sites_web_subdomain_add ' )) {
540+ if (!$ this ->checkPerm ($ session_id , 'sites_web_vhost_subdomain_add ' )) {
541541 throw new SoapFault ('permission_denied ' , 'You do not have the permissions to access this function. ' );
542542 return false ;
543543 }
@@ -560,7 +560,7 @@ public function sites_web_vhost_subdomain_add($session_id, $client_id, $params)
560560 //* Update a record
561561 public function sites_web_vhost_subdomain_update ($ session_id , $ client_id , $ primary_id , $ params )
562562 {
563- if (!$ this ->checkPerm ($ session_id , 'sites_web_subdomain_update ' )) {
563+ if (!$ this ->checkPerm ($ session_id , 'sites_web_vhost_subdomain_update ' )) {
564564 throw new SoapFault ('permission_denied ' , 'You do not have the permissions to access this function. ' );
565565 return false ;
566566 }
@@ -578,7 +578,7 @@ public function sites_web_vhost_subdomain_update($session_id, $client_id, $prima
578578 //* Delete a record
579579 public function sites_web_vhost_subdomain_delete ($ session_id , $ primary_id )
580580 {
581- if (!$ this ->checkPerm ($ session_id , 'sites_web_subdomain_delete ' )) {
581+ if (!$ this ->checkPerm ($ session_id , 'sites_web_vhost_subdomain_delete ' )) {
582582 throw new SoapFault ('permission_denied ' , 'You do not have the permissions to access this function. ' );
583583 return false ;
584584 }
0 commit comments