mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
MINOR Added message to the top of DevelopmentAdmin::build() in red (if run from the web) to warn the user of deprecation, and that they should use dev/build instead
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@77634 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
825362bf00
commit
cd2a6e0608
@ -97,6 +97,9 @@ class DatabaseAdmin extends Controller {
|
||||
echo "<p>Done!</p>";
|
||||
Director::redirect($_GET['returnURL']);
|
||||
} else {
|
||||
if(!Director::is_cli() && Director::urlParam('Controller') == __CLASS__) {
|
||||
echo '<p style="color: red;"><i>db/build</i> has been deprecated. Please use <b>dev/build</b> instead.</p>';
|
||||
}
|
||||
$this->doBuild(isset($_REQUEST['quiet']) || isset($_REQUEST['from_installer']), !isset($_REQUEST['dont_populate']));
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user