Update Safe Exam Browser Patch to 3.10.0.826
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
*/
|
||||
|
||||
using System;
|
||||
using System.Configuration;
|
||||
using SafeExamBrowser.Settings;
|
||||
using SafeExamBrowser.Settings.Proctoring;
|
||||
|
||||
@@ -18,9 +19,6 @@ namespace SafeExamBrowser.Configuration.ConfigurationData.DataMapping
|
||||
{
|
||||
switch (key)
|
||||
{
|
||||
case Keys.Proctoring.ForceRaiseHandMessage:
|
||||
MapForceRaiseHandMessage(settings, value);
|
||||
break;
|
||||
case Keys.Proctoring.ScreenProctoring.CacheSize:
|
||||
MapCacheSize(settings, value);
|
||||
break;
|
||||
@@ -63,23 +61,12 @@ namespace SafeExamBrowser.Configuration.ConfigurationData.DataMapping
|
||||
case Keys.Proctoring.ScreenProctoring.ServiceUrl:
|
||||
MapServiceUrl(settings, value);
|
||||
break;
|
||||
case Keys.Proctoring.ShowRaiseHand:
|
||||
MapShowRaiseHand(settings, value);
|
||||
break;
|
||||
case Keys.Proctoring.ShowTaskbarNotification:
|
||||
MapShowTaskbarNotification(settings, value);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
private void MapForceRaiseHandMessage(AppSettings settings, object value)
|
||||
{
|
||||
if (value is bool force)
|
||||
{
|
||||
settings.Proctoring.ForceRaiseHandMessage = force;
|
||||
}
|
||||
}
|
||||
|
||||
private void MapCacheSize(AppSettings settings, object value)
|
||||
{
|
||||
if (value is int size)
|
||||
@@ -217,14 +204,6 @@ namespace SafeExamBrowser.Configuration.ConfigurationData.DataMapping
|
||||
}
|
||||
}
|
||||
|
||||
private void MapShowRaiseHand(AppSettings settings, object value)
|
||||
{
|
||||
if (value is bool show)
|
||||
{
|
||||
settings.Proctoring.ShowRaiseHandNotification = show;
|
||||
}
|
||||
}
|
||||
|
||||
private void MapShowTaskbarNotification(AppSettings settings, object value)
|
||||
{
|
||||
if (value is bool show)
|
||||
|
Reference in New Issue
Block a user