Version 4.7.8

This commit is contained in:
Neo committed 2025-12-19 16:10:42 -08:00
1 parent 7b7404e741
commit fd22d99e69
688 files changed
+19814 -10890

No files matched your search

+8 -4
View File
@@ -134,9 +134,9 @@ class _Application extends \IPS\Node\Model
/**
* Get Applications
*
* @return array
* @return array<\IPS\Application>
*/
public static function applications()
public static function applications(): array
{
if( static::$gotAll === FALSE )
{
@@ -182,9 +182,9 @@ class _Application extends \IPS\Node\Model
/**
* Get enabled applications
*
* @return array
* @return array<\IPS\Application>
*/
public static function enabledApplications()
public static function enabledApplications(): array
{
$applications = static::applications();
$enabled = array();
@@ -4870,6 +4870,10 @@ EOF;
/* Delete Anonymous Data */
\IPS\Db::i()->delete( 'core_anonymous_posts', \IPS\Db::i()->in( 'anonymous_object_class', $classes ) );
/* Delete Polls */
\IPS\Db::i()->delete( 'core_voters', array( 'poll in (?)', \IPS\Db::i()->select( 'pid', 'core_polls', \IPS\Db::i()->in( 'poll_item_class', $classes ) ) ) );
\IPS\Db::i()->delete( 'core_polls', \IPS\Db::i()->in( 'poll_item_class', $classes ) );
}
/* Delete attachment maps - if the attachment is unused, the regular cleanup task will remove the file later */