Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F118025419
D339.1775573837.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
1 KB
Referenced Files
None
Subscribers
None
D339.1775573837.diff
View Options
diff --git a/lib/Kolab/CalDAV/Calendar.php b/lib/Kolab/CalDAV/Calendar.php
--- a/lib/Kolab/CalDAV/Calendar.php
+++ b/lib/Kolab/CalDAV/Calendar.php
@@ -85,7 +85,7 @@
{
// return ACL information based on IMAP MYRIGHTS
$rights = $this->storage->get_myrights();
- if ($rights && !PEAR::isError($rights)) {
+ if ($rights && !is_a($rights, 'PEAR_Error')) {
// user has at least read access to calendar folders listed
$acl = array(
array(
diff --git a/lib/Kolab/CardDAV/AddressBook.php b/lib/Kolab/CardDAV/AddressBook.php
--- a/lib/Kolab/CardDAV/AddressBook.php
+++ b/lib/Kolab/CardDAV/AddressBook.php
@@ -120,7 +120,7 @@
{
// return ACL information based on IMAP MYRIGHTS
$rights = $this->storage ? $this->storage->get_myrights() : null;
- if ($rights && !PEAR::isError($rights)) {
+ if ($rights && !is_a($rights, 'PEAR_Error')) {
// user has at least read access to calendar folders listed
$acl = array(
array(
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Apr 7, 2:57 PM (1 h, 1 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
18836947
Default Alt Text
D339.1775573837.diff (1 KB)
Attached To
Mode
D339: Fix deprecation-warning log spam
Attached
Detach File
Event Timeline