File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -287,7 +287,7 @@ public function process()
287
287
$ event = new Event ('Action.onAuth ' , $ this , ['action ' => $ this ]);
288
288
$ this ->Auth ->authCheck ($ event );
289
289
290
- $ event = $ this ->dispatchEvent ('Action.beforeValidate ' , compact ( ' data ' ) );
290
+ $ event = $ this ->dispatchEvent ('Action.beforeValidate ' , [] );
291
291
292
292
if ($ event ->isStopped ()) {
293
293
$ this ->dispatchEvent ('Action.beforeValidateStopped ' , []);
@@ -300,7 +300,7 @@ public function process()
300
300
throw new ValidationException (__ ('Validation failed ' ), 0 , null , []);
301
301
}
302
302
303
- $ event = $ this ->dispatchEvent ('Action.beforeExecute ' , compact ( ' data ' ) );
303
+ $ event = $ this ->dispatchEvent ('Action.beforeExecute ' , [] );
304
304
305
305
if ($ event ->isStopped ()) {
306
306
$ this ->dispatchEvent ('Action.beforeExecuteStopped ' , []);
You can’t perform that action at this time.
0 commit comments