mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-09-21 06:20:17 +00:00
set line endings of most text files to LF
* Changed the end-of-line encodings of all non-Windows-related and non-autogenerated text files to use UNIX LF (lots of them had mixed LF/CRLF). Conflicts: inc/caldav-PUT-functions.php
This commit is contained in:
parent
92c15bed64
commit
8e60bb3124
@ -1,3 +1,8 @@
|
|||||||
|
2013-03-20 Christoph Anton Mitterer <mail@christoph.anton.mitterer.name>
|
||||||
|
* Changed the end-of-line encodings of all non-Windows-related and
|
||||||
|
non-autogenerated text files to use UNIX LF (lots of them had mixed
|
||||||
|
LF/CRLF).
|
||||||
|
|
||||||
2013-03-06 Andrew McMillan <andrew@morphoss.com>
|
2013-03-06 Andrew McMillan <andrew@morphoss.com>
|
||||||
* Fix capitalisation of 'plpgsql' & 'sql' for Postgres 9.2. (debbug #702403)
|
* Fix capitalisation of 'plpgsql' & 'sql' for Postgres 9.2. (debbug #702403)
|
||||||
|
|
||||||
|
|||||||
@ -890,6 +890,20 @@ EOSQL;
|
|||||||
$icalendar = $vcal->Render();
|
$icalendar = $vcal->Render();
|
||||||
$dav_name = sprintf( '%s%s.ics', $path, preg_replace('{[&?\\/@%+:]}','',$uid) );
|
$dav_name = sprintf( '%s%s.ics', $path, preg_replace('{[&?\\/@%+:]}','',$uid) );
|
||||||
|
|
||||||
|
/** Do we need to do anything? */
|
||||||
|
$inserting = true;
|
||||||
|
if ( isset($current_data[$dav_name]) ) {
|
||||||
|
if ( $icalendar == $current_data[$dav_name] ) {
|
||||||
|
unset($current_data[$dav_name]);
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
$sync_change = 200;
|
||||||
|
unset($current_data[$dav_name]);
|
||||||
|
$inserting = false;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
$sync_change = 201;
|
||||||
|
|
||||||
if ( isset($c->skip_bad_event_on_import) && $c->skip_bad_event_on_import ) $qry->Begin();
|
if ( isset($c->skip_bad_event_on_import) && $c->skip_bad_event_on_import ) $qry->Begin();
|
||||||
|
|
||||||
/** As ever, we mostly deal with the first resource component */
|
/** As ever, we mostly deal with the first resource component */
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user