[Pkg-owncloud-commits] [php-sabredav] 142/163: Removing the now-redundant acl properties.
David Prévot
taffit at moszumanska.debian.org
Tue May 20 18:55:02 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to annotated tag upstream/2.0.0_beta1
in repository php-sabredav.
commit 69aeb18db1ee79e5940f1623c71204b75f1375f0
Author: Evert Pot <me at evertpot.com>
Date: Thu May 15 14:29:46 2014 -0400
Removing the now-redundant acl properties.
---
lib/DAVACL/Plugin.php | 47 -----------------------------------------------
1 file changed, 47 deletions(-)
diff --git a/lib/DAVACL/Plugin.php b/lib/DAVACL/Plugin.php
index 449443b..b35ecf5 100644
--- a/lib/DAVACL/Plugin.php
+++ b/lib/DAVACL/Plugin.php
@@ -664,7 +664,6 @@ class Plugin extends DAV\ServerPlugin {
$server->on('beforeUnlock', [$this,'beforeUnlock'],20);
$server->on('report', [$this,'report']);
$server->on('method:ACL', [$this,'httpAcl']);
- $server->on('onHTMLActionsPanel', [$this,'htmlActionsPanel']);
array_push($server->protectedProperties,
'{DAV:}alternate-URI-set',
@@ -1351,51 +1350,5 @@ class Plugin extends DAV\ServerPlugin {
/* }}} */
- /* Browser plugin additions {{{ */
-
- /**
- * This method is used to generate HTML output for the
- * DAV\Browser\Plugin. This allows us to generate an interface users
- * can use to create new calendars.
- *
- * @param DAV\INode $node
- * @param string $output
- * @return bool
- */
- public function htmlActionsPanel(DAV\INode $node, &$output) {
-
- if (!$node instanceof IPrincipal)
- return;
-
- $properties['{DAV:}principal-URL'] = $node->getPrincipalUrl();
- $properties['{DAV:}alternate-URI-set'] = $node->getAlternateUriSet();
- $properties['{DAV:}group-member-set'] = $node->getGroupMemberSet();
- $properties['{DAV:}group-membership'] = $node->getGroupMembership();
-
- $output.= <<<HTML
-
-<tr>
- <td colspan="2">
- <h3>Principal properties</h3>
- </td>
-</tr>
-HTML;
-
- foreach($properties as $key=>$property) {
-
- $output.="<tr><th colspan=\"2\">" . $key . "</th><td colspan=\"3\">";
- $property = (array)$property;
- foreach($property as $key=>$value) {
- $property[$key] = $this->server->getBaseUri() . $value;
- }
- $output.=implode("<br />", $property);
- $output.="</td></tr>";
-
- }
-
- }
-
-
- /* }}} */
}
--
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