[Pkg-owncloud-commits] [php-sabredav] 19/66: Removed var_dump() for cases if $this->lock is not an object

David Prévot taffit at moszumanska.debian.org
Sat Jan 18 20:08:19 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository php-sabredav.

commit cd6febe1ca0713e85ae877da640d08967df0f135
Author: Jan Pieper <jan.pieper at adcloud.com>
Date:   Wed Dec 4 19:24:42 2013 +0100

    Removed var_dump() for cases if $this->lock is not an object
---
 lib/Sabre/DAV/Exception/ConflictingLock.php | 1 -
 1 file changed, 1 deletion(-)

diff --git a/lib/Sabre/DAV/Exception/ConflictingLock.php b/lib/Sabre/DAV/Exception/ConflictingLock.php
index ba66f24..0237e26 100644
--- a/lib/Sabre/DAV/Exception/ConflictingLock.php
+++ b/lib/Sabre/DAV/Exception/ConflictingLock.php
@@ -28,7 +28,6 @@ class ConflictingLock extends Locked {
         if ($this->lock) {
             $error = $errorNode->ownerDocument->createElementNS('DAV:','d:no-conflicting-lock');
             $errorNode->appendChild($error);
-            if (!is_object($this->lock)) var_dump($this->lock);
             $error->appendChild($errorNode->ownerDocument->createElementNS('DAV:','d:href',$this->lock->uri));
         }
 

-- 
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