mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
MINOR getEditForm should have the same signature as inherited classes (PHP strict standard)
This commit is contained in:
parent
7af4029a9a
commit
6d37826305
@ -20,7 +20,7 @@ class CMSFileAddController extends AssetAdmin {
|
|||||||
* @return Form
|
* @return Form
|
||||||
* @todo what template is used here? AssetAdmin_UploadContent.ss doesn't seem to be used anymore
|
* @todo what template is used here? AssetAdmin_UploadContent.ss doesn't seem to be used anymore
|
||||||
*/
|
*/
|
||||||
public function getEditForm() {
|
public function getEditForm($id = null, $fields = null) {
|
||||||
Requirements::javascript(SAPPHIRE_DIR . '/javascript/AssetUploadField.js');
|
Requirements::javascript(SAPPHIRE_DIR . '/javascript/AssetUploadField.js');
|
||||||
Requirements::css(SAPPHIRE_DIR . '/css/AssetUploadField.css');
|
Requirements::css(SAPPHIRE_DIR . '/css/AssetUploadField.css');
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user