Skip to content

Commit

Permalink
Version check success response
Browse files Browse the repository at this point in the history
  • Loading branch information
ulrichblock committed Feb 27, 2016
1 parent 840444a commit 4077db0
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions web/stuff/admin/versioncheck.php
Original file line number Diff line number Diff line change
Expand Up @@ -261,18 +261,15 @@ function rmr($dir) {
} else {
$response->addError('Cannot create the tempfolder <b>tmp/</b>');
}
/*
*

*/
if (count($response->errors) > 0) {
$template_file = '<div class="alert alert-danger"><h4><i class="icon fa fa-ban"></i> Errors!</h4>' . implode('<br />',$response->errors) . '</div>';
}

if (isset($template_file)) {
$template_file .= ' <br/>'.implode('<br />',$response->printresponse());
$template_file .= ' <br/>' . implode('<br />',$response->printresponse());
} else {
$template_file = $response->printresponse();
$template_file = implode('<br />',$response->printresponse());
}

} else if (isset($ewVersions)) {
Expand Down

0 comments on commit 4077db0

Please sign in to comment.