[TikiWiki-commits] [Git][tikiwiki/tiki][master] [REF] Calendar: remove duplicated all-day event detection

"Adrien Mbuya Maloba \(@adrienmaloba\) via TikiWiki-cvs" <[email protected]>
Newsgroups gmane.comp.cms.tiki.cvs
Message-ID <6a765a526ff7d_381a0694808a1@gitlab-sidekiq-low-urgency-cpu-bound-v2-57d89f4484-g98hv.mail>

Adrien Mbuya Maloba pushed to branch master at Tiki Wiki CMS Groupware / Tiki


Commits:
8ef1ca0e by Adrien Mbuya Maloba at 2026-08-08T01:06:47+03:00
[REF] Calendar: remove duplicated all-day event detection
---
* [REF] Calendar: remove duplicated all-day event detection

See merge request tikiwiki/tiki!10867

- - - - -


1 changed file:

- lib/core/Tiki/SabreDav/Utilities.php


Changes:

=====================================
lib/core/Tiki/SabreDav/Utilities.php
=====================================
@@ -349,12 +349,6 @@ class Utilities
         if (isset($component->URL)) {
             $result['url'] = $convertToString($component->URL);
         }
-        if (isset($component->{'X-Tiki-Allday'})) {
-            $result['allday'] = empty($convertToString($component->{'X-Tiki-Allday'})) ? 0 : 1;
-            if ($rec) {
-                $rec->setAllday(empty($convertToString($component->{'X-Tiki-Allday'})) ? 0 : 1);
-            }
-        }
         // Detect all-day events, including imported ICS files
         $isAllDay = ! $component->DTSTART->hasTime();
         if (isset($component->{'X-Tiki-Allday'})) {



View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/8ef1ca0e9e3d98dbaee4a42c52fb3b18ef6ecc2f

-- 
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/8ef1ca0e9e3d98dbaee4a42c52fb3b18ef6ecc2f
You're receiving this email because of your account on gitlab.com. Manage all notifications: https://gitlab.com/-/profile/notifications | Help: https://gitlab.com/help

_______________________________________________
TikiWiki-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tikiwiki-cvs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.