mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Changed colouring of db/build to be more appropriate for the actual meaning of the messages.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@40803 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
5b865997e0
commit
46c9efaecc
@ -1596,7 +1596,7 @@ class DataObject extends Controller {
|
||||
$obj->write();
|
||||
}
|
||||
if(!Database::$supressOutput) {
|
||||
echo "<li style=\"color: orange\">Added default records to $baseClass table</li>";
|
||||
echo "<li style=\"color: green\">Added default records to $baseClass table</li>";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -36,7 +36,7 @@ class ErrorPage extends Page {
|
||||
|
||||
|
||||
if(!Database::$supressOutput) {
|
||||
echo "<li style=\"color: orange\">404 page created</li>";
|
||||
echo "<li style=\"color: green\">404 page created</li>";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -207,7 +207,7 @@ class MySQLDatabase extends Database {
|
||||
public function checkAndRepairTable($tableName) {
|
||||
if(!$this->runTableCheckCommand("CHECK TABLE `$tableName`")) {
|
||||
if(!Database::$supressOutput) {
|
||||
echo "<li style=\"color: orange\">Table $tableName: repaired</li>";
|
||||
echo "<li style=\"color: blue\">Table $tableName: repaired</li>";
|
||||
}
|
||||
|
||||
return $this->runTableCheckCommand("REPAIR TABLE `$tableName` USE_FRM");
|
||||
|
@ -408,7 +408,7 @@ class SiteTree extends DataObject {
|
||||
$homepage->flushCache();
|
||||
|
||||
if(!Database::$supressOutput) {
|
||||
echo "<li style=\"color: orange\">Home page created</li>";
|
||||
echo "<li style=\"color: green\">Home page created</li>";
|
||||
}
|
||||
}
|
||||
|
||||
@ -422,7 +422,7 @@ class SiteTree extends DataObject {
|
||||
$aboutus->publish("Stage", "Live");
|
||||
|
||||
if(!Database::$supressOutput) {
|
||||
echo "<li style=\"color: orange\">About Us created</li>";
|
||||
echo "<li style=\"color: green\">About Us created</li>";
|
||||
}
|
||||
|
||||
$contactus = new Page();
|
||||
|
@ -428,7 +428,7 @@ class Member extends DataObject {
|
||||
Security::findAnAdministrator($_REQUEST['username'], $_REQUEST['password']);
|
||||
|
||||
if(!Database::$supressOutput) {
|
||||
echo "<li style=\"color: orange\">Added admin account</li>";
|
||||
echo "<li style=\"color: green\">Added admin account</li>";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user