Version 4.7.6
This commit is contained in:
1 parent
8ba7d43898
commit
7b7404e741
1085 files changed
+30590
-7837
No files matched your search
@@ -95,7 +95,7 @@ class _search extends \IPS\Dispatcher\Controller
|
||||
/* Open search is compatible up to at least version 2 */
|
||||
if( isset( $response['version']['distribution'] ) and $response['version']['distribution'] == 'opensearch' )
|
||||
{
|
||||
if ( version_compare( $response['version']['number'], '2.0', '>' ) )
|
||||
if ( version_compare( $response['version']['number'], '2.2', '>=' ) )
|
||||
{
|
||||
throw new \DomainException( \IPS\Member::loggedIn()->language()->addToStack('search_opensearch_server_unsupported_version', FALSE, array( 'sprintf' => array( $response['version']['number'] ) ) ) );
|
||||
}
|
||||
|
||||
@@ -113,6 +113,8 @@ class _streams extends \IPS\Node\Controller
|
||||
{}
|
||||
}
|
||||
|
||||
\IPS\Session::i()->log( 'acplog__streams_restored' );
|
||||
|
||||
\IPS\Output::i()->redirect( \IPS\Http\Url::internal( 'app=core&module=discovery&controller=streams' ), 'restore_default_streams_restored' );
|
||||
}
|
||||
|
||||
@@ -177,6 +179,8 @@ class _streams extends \IPS\Node\Controller
|
||||
$toSave[ 'activity_stream_rss' ] = $values['activity_stream_rss'];
|
||||
$toSave[ 'activity_stream_subscriptions' ] = $values['activity_stream_subscriptions'];
|
||||
$toSave[ 'activity_stream_subscriptions_max' ] = $values['activity_stream_subscriptions_max'];
|
||||
|
||||
\IPS\Session::i()->Log( 'acplog__all_activity_settings' );
|
||||
|
||||
$form->saveAsSettings( $toSave );
|
||||
\IPS\Output::i()->redirect( \IPS\Http\Url::internal( 'app=core&module=discovery&controller=streams' ), 'saved' );
|
||||
|
||||
Reference in new issue
Block a user