Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Nextcloud
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TeDomum
Nextcloud
Commits
c706009c
Unverified
Commit
c706009c
authored
6 years ago
by
Morris Jobke
Committed by
GitHub
6 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #14488 from nextcloud/fix/dav/has-photo
Fix dav has-photo plugin extend
parents
3b9ced22
d6e9a2ea
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
apps/dav/lib/CardDAV/HasPhotoPlugin.php
+2
-2
2 additions, 2 deletions
apps/dav/lib/CardDAV/HasPhotoPlugin.php
with
2 additions
and
2 deletions
apps/dav/lib/CardDAV/HasPhotoPlugin.php
+
2
−
2
View file @
c706009c
...
@@ -28,10 +28,11 @@ use Sabre\CardDAV\Card;
...
@@ -28,10 +28,11 @@ use Sabre\CardDAV\Card;
use
Sabre\DAV\INode
;
use
Sabre\DAV\INode
;
use
Sabre\DAV\PropFind
;
use
Sabre\DAV\PropFind
;
use
Sabre\DAV\Server
;
use
Sabre\DAV\Server
;
use
Sabre\DAV\ServerPlugin
;
use
Sabre\VObject\Component\VCard
;
use
Sabre\VObject\Component\VCard
;
use
Sabre\VObject\Reader
;
use
Sabre\VObject\Reader
;
class
HasPhotoPlugin
extends
\Sabre\CardDAV\
Plugin
{
class
HasPhotoPlugin
extends
Server
Plugin
{
/** @var Server */
/** @var Server */
protected
$server
;
protected
$server
;
...
@@ -44,7 +45,6 @@ class HasPhotoPlugin extends \Sabre\CardDAV\Plugin {
...
@@ -44,7 +45,6 @@ class HasPhotoPlugin extends \Sabre\CardDAV\Plugin {
*/
*/
function
initialize
(
Server
$server
)
{
function
initialize
(
Server
$server
)
{
$server
->
on
(
'propFind'
,
[
$this
,
'propFind'
]);
$server
->
on
(
'propFind'
,
[
$this
,
'propFind'
]);
parent
::
initialize
(
$server
);
}
}
/**
/**
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment