mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Added TODO elements to unimplemented CampaignAdmin functionality
This commit is contained in:
parent
d1502cd49f
commit
783d45cedd
@ -173,6 +173,8 @@ JSON;
|
||||
$response->addHeader('Content-Type', 'application/json');
|
||||
$response->setBody(Convert::raw2json(['campaign' => 'create']));
|
||||
|
||||
// TODO Implement permission check and data creation
|
||||
|
||||
return $response;
|
||||
}
|
||||
|
||||
@ -308,6 +310,8 @@ JSON;
|
||||
$response->addHeader('Content-Type', 'application/json');
|
||||
$response->setBody('');
|
||||
|
||||
// TODO Implement data retrieval and serialisation
|
||||
|
||||
return $response;
|
||||
}
|
||||
|
||||
@ -323,6 +327,8 @@ JSON;
|
||||
$response->addHeader('Content-Type', 'application/json');
|
||||
$response->setBody(Convert::raw2json(['campaign' => 'update']));
|
||||
|
||||
// TODO Implement data update and permission checks
|
||||
|
||||
return $response;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user