From 29e1b0c9d76d3b4cb4666da67bd541b1a8ae7189 Mon Sep 17 00:00:00 2001
From: Marius Cramer <m.cramer@pixcept.de>
Date: Fri, 24 Jan 2014 06:53:13 -0500
Subject: [PATCH] Undone some changes from vhostalias merge.
---
interface/lib/classes/remote.d/sites.inc.php | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/interface/lib/classes/remote.d/sites.inc.php b/interface/lib/classes/remote.d/sites.inc.php
index 018d00c..5e5ac59 100644
--- a/interface/lib/classes/remote.d/sites.inc.php
+++ b/interface/lib/classes/remote.d/sites.inc.php
@@ -455,7 +455,7 @@
{
global $app;
- if(!$this->checkPerm($session_id, 'sites_web_vhost_aliasdomain_get')) {
+ if(!$this->checkPerm($session_id, 'sites_web_aliasdomain_get')) {
throw new SoapFault('permission_denied', 'You do not have the permissions to access this function.');
return false;
}
@@ -468,7 +468,7 @@
public function sites_web_vhost_aliasdomain_add($session_id, $client_id, $params)
{
global $app;
- if(!$this->checkPerm($session_id, 'sites_web_vhost_aliasdomain_add')) {
+ if(!$this->checkPerm($session_id, 'sites_web_aliasdomain_add')) {
throw new SoapFault('permission_denied', 'You do not have the permissions to access this function.');
return false;
}
@@ -491,7 +491,7 @@
//* Update a record
public function sites_web_vhost_aliasdomain_update($session_id, $client_id, $primary_id, $params)
{
- if(!$this->checkPerm($session_id, 'sites_web_vhost_aliasdomain_update')) {
+ if(!$this->checkPerm($session_id, 'sites_web_aliasdomain_update')) {
throw new SoapFault('permission_denied', 'You do not have the permissions to access this function.');
return false;
}
@@ -509,7 +509,7 @@
//* Delete a record
public function sites_web_vhost_aliasdomain_delete($session_id, $primary_id)
{
- if(!$this->checkPerm($session_id, 'sites_web_vhost_aliasdomain_delete')) {
+ if(!$this->checkPerm($session_id, 'sites_web_aliasdomain_delete')) {
throw new SoapFault('permission_denied', 'You do not have the permissions to access this function.');
return false;
}
@@ -524,7 +524,7 @@
{
global $app;
- if(!$this->checkPerm($session_id, 'sites_web_vhost_subdomain_get')) {
+ if(!$this->checkPerm($session_id, 'sites_web_subdomain_get')) {
throw new SoapFault('permission_denied', 'You do not have the permissions to access this function.');
return false;
}
@@ -537,7 +537,7 @@
public function sites_web_vhost_subdomain_add($session_id, $client_id, $params)
{
global $app;
- if(!$this->checkPerm($session_id, 'sites_web_vhost_subdomain_add')) {
+ if(!$this->checkPerm($session_id, 'sites_web_subdomain_add')) {
throw new SoapFault('permission_denied', 'You do not have the permissions to access this function.');
return false;
}
@@ -560,7 +560,7 @@
//* Update a record
public function sites_web_vhost_subdomain_update($session_id, $client_id, $primary_id, $params)
{
- if(!$this->checkPerm($session_id, 'sites_web_vhost_subdomain_update')) {
+ if(!$this->checkPerm($session_id, 'sites_web_subdomain_update')) {
throw new SoapFault('permission_denied', 'You do not have the permissions to access this function.');
return false;
}
@@ -578,7 +578,7 @@
//* Delete a record
public function sites_web_vhost_subdomain_delete($session_id, $primary_id)
{
- if(!$this->checkPerm($session_id, 'sites_web_vhost_subdomain_delete')) {
+ if(!$this->checkPerm($session_id, 'sites_web_subdomain_delete')) {
throw new SoapFault('permission_denied', 'You do not have the permissions to access this function.');
return false;
}
--
Gitblit v1.9.1