API CHANGE: Remove deprecated db/build.

This commit is contained in:
Sam Minnee 2011-10-29 17:44:56 +13:00
parent 4f16c5fa8f
commit 1a0673fa3f
2 changed files with 0 additions and 4 deletions

View File

@ -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',

View File

@ -99,9 +99,6 @@ 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']));
}
}