Version 4.6.0
This commit is contained in:
1 parent
f79dcf067a
commit
517a5e1f70
2036 files changed
+110041
-26162
No files matched your search
@@ -191,7 +191,7 @@ abstract class _Widget extends \IPS\Widget\PermissionCache
|
||||
/* Date restrict */
|
||||
$options = array( 'unlimited' => -1 );
|
||||
|
||||
if ( $class::databaseTableCount() AND $class::databaseTableCount() > \IPS\UPGRADE_LARGE_TABLE_SIZE )
|
||||
if ( $class::databaseTableCount( TRUE ) > \IPS\UPGRADE_LARGE_TABLE_SIZE )
|
||||
{
|
||||
$options['unlimitedLang'] = 'search_year';
|
||||
}
|
||||
@@ -401,7 +401,7 @@ abstract class _Widget extends \IPS\Widget\PermissionCache
|
||||
}
|
||||
|
||||
/* Limit to days */
|
||||
if ( $class::databaseTableCount() > \IPS\UPGRADE_LARGE_TABLE_SIZE )
|
||||
if ( $class::databaseTableCount( TRUE ) > \IPS\UPGRADE_LARGE_TABLE_SIZE )
|
||||
{
|
||||
if ( isset( $this->configuration['widget_feed_restrict_days'] ) and $this->configuration['widget_feed_restrict_days'] > 0 and $this->configuration['widget_feed_restrict_days'] <= 365 )
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user