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:
Christoph Anton Mitterer authored and Andrew McMillan committed 2013-09-02 14:37:23 +12:00
1 parent 92c15bed64
commit 8e60bb3124
30 files changed
+813 -794

No files matched your search

+2 -2
View File
@@ -99,8 +99,8 @@ if ( ! ($request->IsPrincipal() || isset($request->collection) || $request->meth
@ob_flush(); exit(0);
}
}
param_to_global('add_member','.*');
$add_member = isset($add_member);
param_to_global('add_member','.*');
$add_member = isset($add_member);
switch ( $request->method ) {
case 'OPTIONS': include_once('caldav-OPTIONS.php'); break;
+5 -5
View File
@@ -25,9 +25,9 @@ function catch_setup_errors($errno , $errstr , $errfile , $errline , $errcontext
return true;
}
else if ( $errno == 256 ) {
// This will (probably) be a database connection error, which will throw an exception if we return.
log_setup_error($errno , $errstr , $errfile , $errline);
return true;
// This will (probably) be a database connection error, which will throw an exception if we return.
log_setup_error($errno , $errstr , $errfile , $errline);
return true;
}
if ( !headers_sent() ) header("Content-type: text/plain"); else echo "<pre>\n";
try {
@@ -207,7 +207,7 @@ catch( Exception $e ) {
return true;
}
}
$session = new FakeSession(1);
$session = new FakeSession(1);
}
@@ -261,7 +261,7 @@ function check_davical_version() {
$result->setDescription( sprintf(i18n('Stable: %s, We have: %s !'), $current_version, $c->version_string) );
}
else {
$result->setDescription( sprintf(i18n('Want: %s, Currently: %s'), $current_version, $c->version_string) );
$result->setDescription( sprintf(i18n('Want: %s, Currently: %s'), $current_version, $c->version_string) );
}
}
return $result;