From b5fa86147fc689c64fe30da2a553bd50d41067c0 Mon Sep 17 00:00:00 2001 From: "Michael J. Rubinsky" Date: Mon, 8 Nov 2010 15:33:34 -0500 Subject: [PATCH] Don't return from the callback, we haven't deleted the share yet. --- framework/Share/lib/Horde/Share.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/Share/lib/Horde/Share.php b/framework/Share/lib/Horde/Share.php index dce3f403e..f339e3c54 100644 --- a/framework/Share/lib/Horde/Share.php +++ b/framework/Share/lib/Horde/Share.php @@ -382,7 +382,7 @@ class Horde_Share { // Run the results through the callback, if configured. if (!empty($this->_callbacks['remove'])) { - return call_user_func($this->_callbacks['remove'], $share); + call_user_func($this->_callbacks['remove'], $share); } /* Remove share from the caches. */ -- 2.11.0