From: Michael J. Rubinsky Date: Mon, 8 Nov 2010 20:33:34 +0000 (-0500) Subject: Don't return from the callback, we haven't deleted the share yet. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=b5fa86147fc689c64fe30da2a553bd50d41067c0;p=horde.git Don't return from the callback, we haven't deleted the share yet. --- 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. */