summaryrefslogtreecommitdiffstats
path: root/library
diff options
context:
space:
mode:
authorSebastian Wagner2011-11-14 14:42:27 +0100
committerSebastian Wagner2011-11-14 14:42:27 +0100
commit659738f834b24a74317b059568427963d570b5de (patch)
treeccb539e8d50814631d8fb1774a220976fb516985 /library
parenttest (diff)
downloadpoolctrl-659738f834b24a74317b059568427963d570b5de.tar.gz
poolctrl-659738f834b24a74317b059568427963d570b5de.tar.xz
poolctrl-659738f834b24a74317b059568427963d570b5de.zip
some clean up
Diffstat (limited to 'library')
-rwxr-xr-xlibrary/Poolctrl/Acl.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/library/Poolctrl/Acl.php b/library/Poolctrl/Acl.php
index 6cd7a87..5b4609c 100755
--- a/library/Poolctrl/Acl.php
+++ b/library/Poolctrl/Acl.php
@@ -24,7 +24,7 @@ class Poolctrl_Acl
public function checkRight($rightShortcut) {
if(!isset($this->host) || !isset($this->path) || !isset($this->referer)) {
- return 0;
+ return false;
}
$dataToSend = "rightshortcut=" . $rightShortcut;
@@ -56,12 +56,12 @@ class Poolctrl_Acl
$success = $checkRightXML->checkright->success;
if($success == "true") {
- return 1;
+ return true;
} else {
- return 0;
+ return false;
}
} else {
- return 0;
+ return false;
}
}