mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
API CHANGE: Remove deprecated db/build.
This commit is contained in:
parent
4f16c5fa8f
commit
1a0673fa3f
@ -21,7 +21,6 @@
|
|||||||
Director::addRules(10, array(
|
Director::addRules(10, array(
|
||||||
'Security//$Action/$ID/$OtherID' => 'Security',
|
'Security//$Action/$ID/$OtherID' => 'Security',
|
||||||
//'Security/$Action/$ID' => 'Security',
|
//'Security/$Action/$ID' => 'Security',
|
||||||
'db//$Action' => 'DatabaseAdmin',
|
|
||||||
'$Controller//$Action/$ID/$OtherID' => '*',
|
'$Controller//$Action/$ID/$OtherID' => '*',
|
||||||
'api/v1/live' => 'VersionedRestfulServer',
|
'api/v1/live' => 'VersionedRestfulServer',
|
||||||
'api/v1' => 'RestfulServer',
|
'api/v1' => 'RestfulServer',
|
||||||
|
@ -99,9 +99,6 @@ class DatabaseAdmin extends Controller {
|
|||||||
echo "<p>Done!</p>";
|
echo "<p>Done!</p>";
|
||||||
Director::redirect($_GET['returnURL']);
|
Director::redirect($_GET['returnURL']);
|
||||||
} else {
|
} 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']));
|
$this->doBuild(isset($_REQUEST['quiet']) || isset($_REQUEST['from_installer']), !isset($_REQUEST['dont_populate']));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user