mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
MINOR Fixed output spelling mistake and formatting in SapphireTest::delete_all_temp_dbs() (from r113450)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@114536 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
400157c8bf
commit
a2475141c6
@ -680,7 +680,11 @@ class SapphireTest extends PHPUnit_Framework_TestCase {
|
||||
foreach(DB::getConn()->allDatabaseNames() as $dbName) {
|
||||
if(preg_match('/^tmpdb[0-9]+$/', $dbName)) {
|
||||
DB::getConn()->dropDatabaseByName($dbName);
|
||||
echo "<li>Dropped databse \"$dbName\"\n";
|
||||
if(Director::is_cli()) {
|
||||
echo "Dropped database \"$dbName\"" . PHP_EOL;
|
||||
} else {
|
||||
echo "<li>Dropped database \"$dbName\"</li>" . PHP_EOL;
|
||||
}
|
||||
flush();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user