[Pkg-owncloud-commits] [php-sabredav] 109/220: Unused variables
David Prévot
taffit at moszumanska.debian.org
Thu May 12 01:21:14 UTC 2016
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository php-sabredav.
commit 60c52257d34f17ef3f9fadd5503b3c8a0b510238
Author: Evert Pot <me at evertpot.com>
Date: Tue Mar 29 22:17:53 2016 -0400
Unused variables
---
lib/CalDAV/SharingPlugin.php | 1 -
lib/DAV/Xml/Property/ShareAccess.php | 1 -
2 files changed, 2 deletions(-)
diff --git a/lib/CalDAV/SharingPlugin.php b/lib/CalDAV/SharingPlugin.php
index ee9ff42..6f7df02 100644
--- a/lib/CalDAV/SharingPlugin.php
+++ b/lib/CalDAV/SharingPlugin.php
@@ -206,7 +206,6 @@ class SharingPlugin extends DAV\ServerPlugin {
$propPatch->handle('{DAV:}resourcetype', function($value) use ($node) {
if ($value->is('{' . Plugin::NS_CALENDARSERVER . '}shared-owner')) return false;
$shares = $node->getInvites();
- $remove = [];
foreach ($shares as $share) {
$share->access = DAV\Sharing\Plugin::ACCESS_NOACCESS;
}
diff --git a/lib/DAV/Xml/Property/ShareAccess.php b/lib/DAV/Xml/Property/ShareAccess.php
index b1a90de..f27af54 100644
--- a/lib/DAV/Xml/Property/ShareAccess.php
+++ b/lib/DAV/Xml/Property/ShareAccess.php
@@ -123,7 +123,6 @@ class ShareAccess implements Element {
static function xmlDeserialize(Reader $reader) {
$elems = $reader->parseInnerTree();
- $value = null;
foreach ($elems as $elem) {
switch ($elem['name']) {
case '{DAV:}not-shared' :
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-php/php-sabredav.git
More information about the Pkg-owncloud-commits
mailing list