Version 4.7.0

This commit is contained in:
Neo committed 2025-12-19 16:00:35 -08:00
1 parent 517a5e1f70
commit 8ba7d43898
1933 files changed
+65613 -11332

No files matched your search

@@ -100,6 +100,11 @@ class _Comment extends \IPS\Content\Comment implements \IPS\Content\EditHistory,
*/
protected static $searchIndexTitles = array();
/**
* @brief Whether to track the sentiment scores in cloud_sentiment_scores for this content
*/
public $trackSentimentScore = true;
/**
* Load Record
*
@@ -158,6 +163,16 @@ class _Comment extends \IPS\Content\Comment implements \IPS\Content\EditHistory,
{
return array( array( static::$databasePrefix . static::$databaseColumnMap['item'] . '=?', $id ), array( static::$databasePrefix . 'database_id=?', static::$customDatabaseId ) );
}
/**
* Return custom where for IP tools
*
* @return string
*/
public static function findByIPWhere()
{
return " AND comment_database_id=" . static::$customDatabaseId;
}
/**
* Get items with permisison check