Skip to content

Commit

Permalink
Fix regression that stops non Data API backends from working
Browse files Browse the repository at this point in the history
  • Loading branch information
gav- committed Sep 28, 2022
1 parent 261ac38 commit 8755364
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
### 6.0.2 (Released 2022-09-28) ###
- Fix regression that stops non Data API backends from working.

### 6.0.1 (Released 2022-09-14) ###
- Fix Data API Create Record - include script results
- Fix Data API Create Record - include script results.

### 6.0.0 (Released 2022-08-01) ###
- Added FileMaker Data API support. This is now the default backend for new
Expand Down
10 changes: 9 additions & 1 deletion lib/RESTfm/BackendAbstract.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,15 @@ abstract public function makeOpsRecord ($database, $layout);
* @param string $layout
*
* @return OpsFieldAbstract
*
* @throws ResponseException
* When this method is not implemented/overridden in a backend.
*/
abstract public function makeOpsField ($database, $layout);
public function makeOpsField ($database, $layout) {
throw new ResponseException(
'Field level operations not implemented by this RESTfm backend',
Response::METHODNOTALLOWED
);
}

}

0 comments on commit 8755364

Please sign in to comment.