aboutsummaryrefslogtreecommitdiff
path: root/engine/lib
diff options
context:
space:
mode:
authorcash <cash.costello@gmail.com>2011-11-18 17:44:45 -0500
committercash <cash.costello@gmail.com>2011-11-28 21:43:59 -0500
commita219beb80c90c377ed5b611a9a502f2dbc04d61a (patch)
tree485bebc41cf5cc9bca58568c4042285d94c6cbb5 /engine/lib
parent337abf7ce0a68f4a2fe57036092c3188ba4f42f7 (diff)
downloadelgg-a219beb80c90c377ed5b611a9a502f2dbc04d61a.tar.gz
elgg-a219beb80c90c377ed5b611a9a502f2dbc04d61a.tar.bz2
Fixes #4115 returning bool from remove_user_from_access_collection()
Diffstat (limited to 'engine/lib')
-rw-r--r--engine/lib/access.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/access.php b/engine/lib/access.php
index ba3820f46..08b9283cd 100644
--- a/engine/lib/access.php
+++ b/engine/lib/access.php
@@ -717,7 +717,7 @@ function remove_user_from_access_collection($user_guid, $collection_id) {
WHERE access_collection_id = {$collection_id}
AND user_guid = {$user_guid}";
- return delete_data($q);
+ return (bool)delete_data($q);
}
/**