aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/entities.php
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2011-11-18 06:42:45 -0500
committerCash Costello <cash.costello@gmail.com>2011-11-18 06:42:45 -0500
commit51e2a993373b9f39c1c2b7f308dd308d320feb0a (patch)
treeac8af23ba55eb59c75c60dec80029671a4709827 /engine/lib/entities.php
parente1b2cf3b9499f0a5a649e4695f7a26d3a3bf6ddb (diff)
downloadelgg-51e2a993373b9f39c1c2b7f308dd308d320feb0a.tar.gz
elgg-51e2a993373b9f39c1c2b7f308dd308d320feb0a.tar.bz2
Fixes #4108 delete() returns bool now and updated unit tests
Diffstat (limited to 'engine/lib/entities.php')
-rw-r--r--engine/lib/entities.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/entities.php b/engine/lib/entities.php
index fd2b0e9f9..d8db88462 100644
--- a/engine/lib/entities.php
+++ b/engine/lib/entities.php
@@ -1563,7 +1563,7 @@ function delete_entity($guid, $recursive = true) {
}
}
- return $res;
+ return (bool)$res;
}
}
}