Skip to content

Commit

Permalink
pkp#9456 Fix for the UserPrivateNote schema
Browse files Browse the repository at this point in the history
  • Loading branch information
nibou230 committed Nov 24, 2023
1 parent b125a53 commit cc058e2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 22 deletions.
20 changes: 0 additions & 20 deletions classes/userPrivateNote/UserPrivateNote.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,26 +22,6 @@

class UserPrivateNote extends DataObject
{
/**
* Get private note ID.
*
* @return int
*/
public function getId(): int
{
return $this->getData('id');
}

/**
* Set private note ID.
*
* @param $id int
*/
public function setId($id): void
{
$this->setData('id', $id);
}

/**
* Get private note context ID.
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"title": "User Private Note",
"title": "UserPrivateNote",
"description": "A private note associated to the user.",
"properties": {
"userPrivateNoteId": {
"id": {
"type": "integer",
"readOnly": true
},
Expand Down

0 comments on commit cc058e2

Please sign in to comment.