Skip to content

Commit

Permalink
Merge pull request #29 from humhub/enh/1-move-content-feature
Browse files Browse the repository at this point in the history
Enable the feature to move a content to another space
  • Loading branch information
luke- authored Nov 2, 2024
2 parents 399d188 + 4d07b1e commit c0e718b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
4 changes: 4 additions & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
Changelog
=========

1.0.8 (Unreleased)
------------------------
- Enh #29: Enable the feature to move a content to another space

1.0.7 (October 16, 2024)
------------------------
- Enh #26: Use PHP CS Fixer
Expand Down
5 changes: 5 additions & 0 deletions models/Question.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,11 @@ class Question extends ContentActiveRecord implements Searchable
*/
public $moduleId = 'questions';

/**
* @inheritdoc
*/
protected $canMove = true;

/**
* @inheritdoc
*/
Expand Down
2 changes: 1 addition & 1 deletion module.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"name": "Q&A",
"description": "Users can ask questions, receive helpful answers, and engage in community discussions.",
"keywords": ["Q&A", "questions", "answers"],
"version": "1.0.7",
"version": "1.0.8",
"humhub": {
"minVersion": "1.14"
},
Expand Down

0 comments on commit c0e718b

Please sign in to comment.