diff plugins/libcalendaring/libvcalendar.php @ 49:91f005a4f7e9

Slowly cleaning up more php8 Warnings/deprecations
author Charlie Root
date Mon, 06 Oct 2025 12:19:59 -0400
parents 888e774ee983
children 082a19037887
line wrap: on
line diff
--- a/plugins/libcalendaring/libvcalendar.php	Mon Oct 06 12:17:00 2025 -0400
+++ b/plugins/libcalendaring/libvcalendar.php	Mon Oct 06 12:19:59 2025 -0400
@@ -73,7 +73,7 @@
     function __construct($tz = null)
     {
         $this->timezone = $tz;
-        $this->prodid = '-//Roundcube libcalendaring ' . RCUBE_VERSION . '//Sabre//Sabre VObject ' . VObject\Version::VERSION . '//EN';
+        $this->prodid = '-//Roundcube libcalendaring ' . RCUBE_VERSION . '//Sabre//Sabre VObject ' . '3.0.0' . '//EN'; /* VObject\Version::VERSION */
     }
 
     /**
@@ -1414,26 +1414,3 @@
 
 }
 
-
-/**
- * Override Sabre\VObject\Property\Text that quotes commas in the location property
- * because Apple clients treat that property as list.
- */
-class vobject_location_property extends VObject\Property\Text
-{
-    /**
-     * List of properties that are considered 'structured'.
-     *
-     * @var array
-     */
-    protected $structuredValues = array(
-        // vCard
-        'N',
-        'ADR',
-        'ORG',
-        'GENDER',
-        'LOCATION',
-        // iCalendar
-        'REQUEST-STATUS',
-    );
-}