mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
BUGFIX: if running in cli do not output html tags when rebuilding the db (from r106154)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@112522 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
3c18a9f1f6
commit
497e557632
@ -238,7 +238,10 @@ class DatabaseAdmin extends Controller {
|
||||
echo "OK";
|
||||
}
|
||||
|
||||
if(!$quiet) echo "<p>Database build completed!</p>";
|
||||
if(!$quiet) {
|
||||
echo (Director::is_cli()) ? "\n Database build completed!\n\n" :"<p>Database build completed!</p>";
|
||||
}
|
||||
|
||||
ClassInfo::reset_db_cache();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user