File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -15,8 +15,9 @@ Versions and branches
15
15
16
16
| CakePHP | CakeDC Api Plugin | Tag | Notes |
17
17
| :-------------: | :------------------------: | :--: | :---- |
18
- | ^3.6 | [ master] ( https://github.com/cakedc/cakephp-api/tree/master ) | 6.0.1 | stable |
19
- | ^3.6 | [ develop] ( https://github.com/cakedc/cakephp-api/tree/develop ) | - | unstable |
18
+ | ^3.7 | [ master] ( https://github.com/cakedc/cakephp-api/tree/master ) | 7.0.0 | stable |
19
+ | ^3.7 | [ develop] ( https://github.com/cakedc/cakephp-api/tree/develop ) | - | unstable |
20
+ | 3.6 | [ master] ( https://github.com/cakedc/cakephp-api/tree/6.0.1 ) | 6.0.1 | stable |
20
21
| 3.5 | [ 5.x] ( https://github.com/cakedc/cakephp-api/tree/5.0.0 ) | 5.0.0 | stable |
21
22
| 3.4 | [ 4.x] ( https://github.com/cakedc/cakephp-api/tree/4.0.0 ) | 4.0.0 | stable |
22
23
| 3.3 | [ 3.x] ( https://github.com/cakedc/cakephp-api/tree/3.3 ) | 3.3 | stable |
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