mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 15:03:25 +00:00
PHRAS-508_acl-cache
- refactor : acl strings changed to ACL class constants - code cleanup - wip but try to merge for bc break test
This commit is contained in:
@@ -37,7 +37,7 @@ class ProdOrderController extends BaseOrderController
|
||||
*/
|
||||
public function createOrder(Request $request)
|
||||
{
|
||||
$records = RecordsRequest::fromRequest($this->app, $request, true, ['cancmd']);
|
||||
$records = RecordsRequest::fromRequest($this->app, $request, true, [\ACL::CANCMD]);
|
||||
|
||||
try {
|
||||
if ($records->isEmpty()) {
|
||||
|
Reference in New Issue
Block a user