Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
our_own_cloud_project
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
die_coolen_jungs
our_own_cloud_project
Commits
9917c611
Commit
9917c611
authored
12 years ago
by
Lukas Reschke
Committed by
Jörn Friedrich Dreyer
12 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Disable listing of all users
parent
1dfa6f3d
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
apps/calendar/appinfo/remote.php
+7
-3
7 additions, 3 deletions
apps/calendar/appinfo/remote.php
apps/contacts/appinfo/remote.php
+6
-3
6 additions, 3 deletions
apps/contacts/appinfo/remote.php
with
13 additions
and
6 deletions
apps/calendar/appinfo/remote.php
+
7
−
3
View file @
9917c611
...
...
@@ -21,10 +21,14 @@ $principalBackend = new OC_Connector_Sabre_Principal();
$caldavBackend
=
new
OC_Connector_Sabre_CalDAV
();
// Root nodes
$nodes
=
array
(
new
Sabre_CalDAV_Principal_Collection
(
$principalBackend
),
$collection
=
new
Sabre_CalDAV_Principal_Collection
(
$principalBackend
);
$collection
->
disableListing
=
true
;
// Disable listening
$nodes
=
array
(
$collection
,
new
Sabre_CalDAV_CalendarRootNode
(
$principalBackend
,
$caldavBackend
),
);
);
// Fire up server
$server
=
new
Sabre_DAV_Server
(
$nodes
);
...
...
This diff is collapsed.
Click to expand it.
apps/contacts/appinfo/remote.php
+
6
−
3
View file @
9917c611
...
...
@@ -36,10 +36,13 @@ $principalBackend = new OC_Connector_Sabre_Principal();
$carddavBackend
=
new
OC_Connector_Sabre_CardDAV
();
// Root nodes
$nodes
=
array
(
new
Sabre_CalDAV_Principal_Collection
(
$principalBackend
),
$collection
=
new
Sabre_CalDAV_Principal_Collection
(
$principalBackend
);
$collection
->
disableListing
=
true
;
// Disable listening
$nodes
=
array
(
$collection
,
new
Sabre_CardDAV_AddressBookRoot
(
$principalBackend
,
$carddavBackend
),
);
);
// Fire up server
$server
=
new
Sabre_DAV_Server
(
$nodes
);
...
...
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