Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Z
z-push
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Björn Fischer
z-push
Commits
1aea7cc1
Commit
1aea7cc1
authored
Sep 07, 2016
by
Sebastian Kummer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ZP-1027 Fixed wording.
Released under the Affero GNU General Public License (AGPL) version 3.
parent
2d399df7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
kopano.php
src/backend/kopano/kopano.php
+4
-4
No files found.
src/backend/kopano/kopano.php
View file @
1aea7cc1
...
@@ -1576,13 +1576,13 @@ class BackendKopano implements IBackend, ISearchProvider {
...
@@ -1576,13 +1576,13 @@ class BackendKopano implements IBackend, ISearchProvider {
public
function
HasSecretaryACLs
(
$store
,
$folderid
)
{
public
function
HasSecretaryACLs
(
$store
,
$folderid
)
{
$entryid
=
mapi_msgstore_entryidfromsourcekey
(
$store
,
hex2bin
(
$folderid
));
$entryid
=
mapi_msgstore_entryidfromsourcekey
(
$store
,
hex2bin
(
$folderid
));
if
(
!
$entryid
)
{
if
(
!
$entryid
)
{
ZLog
::
Write
(
LOGLEVEL_WARN
,
sprintf
(
"Kopano->HasSecretaryACLs(): error, no entryid resolved for %s on store %s"
,
$folderid
,
$store
));
ZLog
::
Write
(
LOGLEVEL_WARN
,
sprintf
(
"Kopano
Backend
->HasSecretaryACLs(): error, no entryid resolved for %s on store %s"
,
$folderid
,
$store
));
return
false
;
return
false
;
}
}
$folder
=
mapi_msgstore_openentry
(
$store
,
$entryid
);
$folder
=
mapi_msgstore_openentry
(
$store
,
$entryid
);
if
(
!
$folder
)
{
if
(
!
$folder
)
{
ZLog
::
Write
(
LOGLEVEL_WARN
,
sprintf
(
"Kopano->HasSecretaryACLs(): error, could not open folder with entryid %s on store %s"
,
$entryid
,
$store
));
ZLog
::
Write
(
LOGLEVEL_WARN
,
sprintf
(
"Kopano
Backend
->HasSecretaryACLs(): error, could not open folder with entryid %s on store %s"
,
$entryid
,
$store
));
return
false
;
return
false
;
}
}
...
@@ -1612,13 +1612,13 @@ class BackendKopano implements IBackend, ISearchProvider {
...
@@ -1612,13 +1612,13 @@ class BackendKopano implements IBackend, ISearchProvider {
public
function
HasReadACLs
(
$store
,
$folderid
)
{
public
function
HasReadACLs
(
$store
,
$folderid
)
{
$entryid
=
mapi_msgstore_entryidfromsourcekey
(
$store
,
hex2bin
(
$folderid
));
$entryid
=
mapi_msgstore_entryidfromsourcekey
(
$store
,
hex2bin
(
$folderid
));
if
(
!
$entryid
)
{
if
(
!
$entryid
)
{
ZLog
::
Write
(
LOGLEVEL_WARN
,
sprintf
(
"Kopano->HasReadACLs(): error, no entryid resolved for %s on store %s"
,
$folderid
,
$store
));
ZLog
::
Write
(
LOGLEVEL_WARN
,
sprintf
(
"Kopano
Backend
->HasReadACLs(): error, no entryid resolved for %s on store %s"
,
$folderid
,
$store
));
return
false
;
return
false
;
}
}
$folder
=
mapi_msgstore_openentry
(
$store
,
$entryid
);
$folder
=
mapi_msgstore_openentry
(
$store
,
$entryid
);
if
(
!
$folder
)
{
if
(
!
$folder
)
{
ZLog
::
Write
(
LOGLEVEL_WARN
,
sprintf
(
"Kopano->HasReadACLs(): error, could not open folder with entryid %s on store %s"
,
$entryid
,
$store
));
ZLog
::
Write
(
LOGLEVEL_WARN
,
sprintf
(
"Kopano
Backend
->HasReadACLs(): error, could not open folder with entryid %s on store %s"
,
$entryid
,
$store
));
return
false
;
return
false
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment