diff --git a/_config.php b/_config.php index 6ab8216ce..3fd281b7e 100644 --- a/_config.php +++ b/_config.php @@ -21,7 +21,6 @@ Director::addRules(10, array( 'Security//$Action/$ID/$OtherID' => 'Security', //'Security/$Action/$ID' => 'Security', - 'db//$Action' => 'DatabaseAdmin', '$Controller//$Action/$ID/$OtherID' => '*', 'api/v1/live' => 'VersionedRestfulServer', 'api/v1' => 'RestfulServer', diff --git a/model/DatabaseAdmin.php b/model/DatabaseAdmin.php index 406358d19..d05413c7a 100644 --- a/model/DatabaseAdmin.php +++ b/model/DatabaseAdmin.php @@ -99,9 +99,6 @@ class DatabaseAdmin extends Controller { echo "
Done!
"; Director::redirect($_GET['returnURL']); } else { - if(!Director::is_cli() && Director::urlParam('Controller') == __CLASS__) { - echo 'db/build has been deprecated. Please use dev/build instead.
'; - } $this->doBuild(isset($_REQUEST['quiet']) || isset($_REQUEST['from_installer']), !isset($_REQUEST['dont_populate'])); } }