mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Fix up /dev/build which should really have ever worked, but used to
This commit is contained in:
parent
4b54383d68
commit
f4f2862188
@ -73,15 +73,13 @@ class DatabaseAdmin extends Controller {
|
||||
|
||||
|
||||
/**
|
||||
* Display a simple HTML menu of database admin helpers.
|
||||
* When we're called as /dev/build, that's actually the index. Do the same
|
||||
* as /dev/build/build.
|
||||
*/
|
||||
public function index() {
|
||||
echo "<h2>Database Administration Helpers</h2>";
|
||||
echo "<p><a href=\"build\">Add missing database fields (similar to sanity check).</a></p>";
|
||||
echo "<p><a href=\"../images/flush\">Flush <b>all</b> of the generated images.</a></p>";
|
||||
return $this->build();
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Updates the database schema, creating tables & fields as necessary.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user