diff options
author | Cash Costello <cash.costello@gmail.com> | 2011-11-18 06:42:45 -0500 |
---|---|---|
committer | cash <cash.costello@gmail.com> | 2011-11-28 21:43:59 -0500 |
commit | 3de7c03c391897f04fde7e86296221122de882f5 (patch) | |
tree | ea16aa358a70a8650eac7271d6b9f2e59792a57a /engine/lib/entities.php | |
parent | 76be18d640fed252546fbb5da99b6dea5e127cac (diff) | |
download | elgg-3de7c03c391897f04fde7e86296221122de882f5.tar.gz elgg-3de7c03c391897f04fde7e86296221122de882f5.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.php | 2 |
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; } } } |