download.php code format

This commit is contained in:
2016-11-30 11:14:00 +01:00
parent 64fa5e3cbd
commit d173d7e226
3 changed files with 17 additions and 33 deletions

View File

@@ -34,7 +34,7 @@ ini_set('display_errors', '0');
// check session
// otherwise a DOS attack might be possible
if (!WebAppAuthentication::getUserName() || WebAppAuthentication::getUserName() == ""){
if (!WebAppAuthentication::getUserName() || WebAppAuthentication::getUserName() == "") {
Helper::respondJSON(array('success' => false, 'error' => dgettext("plugin_calendarimporter", "Not authenticated!")));
die();
}