Version 4.7.6

This commit is contained in:
Neo committed 2025-12-19 16:05:19 -08:00
1 parent 8ba7d43898
commit 7b7404e741
1085 files changed
+30590 -7837

No files matched your search

+1 -1
View File
@@ -133,7 +133,7 @@ class _categories extends \IPS\Node\Api\NodeController
* @param \IPS\node\Model $category The node
* @return \IPS\node\Model
*/
protected function _createOrUpdate( \IPS\node\Model $category )
protected function _createOrUpdate( \IPS\Node\Model $category )
{
foreach ( array( 'title' => "downloads_category_{$category->id}", 'description' => "downloads_category_{$category->id}_desc" ) as $fieldKey => $langKey )
{
+6 -6
View File
@@ -267,15 +267,15 @@ class _comments extends \IPS\Content\Api\CommentController
/**
* POST /downloads/comments/{id}/report
* Reports a post
* Reports a comment
*
* @param int $id ID Number
* @apiparam int author ID of the member reporting
* @apiparam int report_type Report type (0 is default and is for letting CMGR team know, more options via core_automatic_moderation_types)
* @apiparam string message Optional message
* @return \IPS\downloads\File\Comment
* @param int $id ID Number
* @apiparam int author ID of the member reporting
* @apiparam int report_type Report type (0 is default and is for letting CMGR team know, more options via core_automatic_moderation_types)
* @apiparam string message Optional message
* @throws 1S425/B NO_AUTHOR The author ID does not exist
* @throws 1S425/C REPORTED_ALREADY The member has reported this item in the past 24 hours
* @return \IPS\downloads\File\Comment
*/
public function POSTitem_report( $id )
{
+6 -6
View File
@@ -282,15 +282,15 @@ class _reviews extends \IPS\Content\Api\CommentController
/**
* POST /downloads/reviews/{id}/report
* Reports a post
* Reports a review
*
* @param int $id ID Number
* @apiparam int author ID of the member reporting
* @apiparam int report_type Report type (0 is default and is for letting CMGR team know, more options via core_automatic_moderation_types)
* @apiparam string message Optional message
* @return \IPS\downloads\File\Reviews
* @param int $id ID Number
* @apiparam int author ID of the member reporting
* @apiparam int report_type Report type (0 is default and is for letting CMGR team know, more options via core_automatic_moderation_types)
* @apiparam string message Optional message
* @throws 1S425/B NO_AUTHOR The author ID does not exist
* @throws 1S425/C REPORTED_ALREADY The member has reported this item in the past 24 hours
* @return \IPS\downloads\File\Reviews
*/
public function POSTitem_report( $id )
{