예제 #1
0
        public static void SetIsWysiwygDefault(bool isWysiwygDefault, Guid userID)
        {
            WikiModuleSettings currentSettings = GetSettings(userID);

            currentSettings.IsWysiwygDefault = isWysiwygDefault;
            SetSettings(currentSettings, userID);
        }
예제 #2
0
 public static bool SetSettings(WikiModuleSettings settings, Guid userID)
 {
     return(SettingsManager.Instance.SaveSettingsFor <WikiModuleSettings>(settings, userID));
 }
 public static bool SetSettings(WikiModuleSettings settings, Guid userID)
 {
     return SettingsManager.Instance.SaveSettingsFor<WikiModuleSettings>(settings, userID);
 }