[Pkg-owncloud-commits] [php-sabredav] 09/40: Don't destroy this object. We still need it.
David Prévot
taffit at moszumanska.debian.org
Sat Sep 5 15:24:07 UTC 2015
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to tag 3.1.0-alpha2
in repository php-sabredav.
commit 91aa723dc4aa36a357216880a15c6e3a21e1aee3
Author: Evert Pot <me at evertpot.com>
Date: Mon Jul 27 17:36:19 2015 -0400
Don't destroy this object. We still need it.
Fixes #695
---
lib/CalDAV/Schedule/Plugin.php | 6 ------
1 file changed, 6 deletions(-)
diff --git a/lib/CalDAV/Schedule/Plugin.php b/lib/CalDAV/Schedule/Plugin.php
index 833f67d..d4865d3 100644
--- a/lib/CalDAV/Schedule/Plugin.php
+++ b/lib/CalDAV/Schedule/Plugin.php
@@ -462,12 +462,6 @@ class Plugin extends ServerPlugin {
$broker = new ITip\Broker();
$newObject = $broker->processMessage($iTipMessage, $currentObject);
- if ($currentObject) {
- // Destroy circular references so PHP can garbage collect the object.
- $currentObject->destroy();
- unset($currentObject);
- }
-
$inbox->createFile($newFileName, $iTipMessage->message->serialize());
if (!$newObject) {
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/php-sabredav.git
More information about the Pkg-owncloud-commits
mailing list