예제 #1
0
 public static void ReSetScoreset()
 {
     AdminCaches.RemoveObject(CacheKeys.FORUM_SCORESET);
     AdminCaches.RemoveObject(CacheKeys.FORUM_VALID_SCORE_NAME);
     AdminCaches.RemoveObject(CacheKeys.FORUM_SCORESET_CREDITS_TAX);
     AdminCaches.RemoveObject(CacheKeys.FORUM_SCORESET_CREDITS_TRANS);
     AdminCaches.RemoveObject(CacheKeys.FORUM_SCORESET_TRANSFER_MIN_CREDITS);
     AdminCaches.RemoveObject(CacheKeys.FORUM_SCORESET_EXCHANGE_MIN_CREDITS);
     AdminCaches.RemoveObject(CacheKeys.FORUM_SCORESET_MAX_INC_PER_THREAD);
     AdminCaches.RemoveObject(CacheKeys.FORUM_SCORESET_MAX_CHARGE_SPAN);
     AdminCaches.RemoveObject(CacheKeys.FORUM_VALID_SCORE_UNIT);
 }
예제 #2
0
        private static void ReSetFocusTopicList(int count, int views, int fid, TopicTimeType timetype, TopicOrderType ordertype, bool isdigest)
        {
            string key = string.Format(CacheKeys.FORUM_TOPIC_LIST_FORMAT, new object[]
            {
                count,
                views,
                fid,
                timetype,
                ordertype,
                isdigest
            });

            AdminCaches.RemoveObject(key);
        }
예제 #3
0
        public static void ReSetAllCache()
        {
            //AdminCaches.ReSetAdminGroupList();
            //AdminCaches.ReSetUserGroupList();
            AdminCaches.ReSetModeratorList();
            AdminCaches.ReSetAnnouncementList();
            AdminCaches.ReSetSimplifiedAnnouncementList();
            AdminCaches.ReSetForumListBoxOptions();
            AdminCaches.ReSetSmiliesList();
            AdminCaches.ReSetIconsList();
            AdminCaches.ReSetCustomEditButtonList();
            AdminCaches.ReSetConfig();
            AdminCaches.ReSetScoreset();
            AdminCaches.ReSetSiteUrls();
            AdminCaches.ReSetStatistics();
            AdminCaches.ReSetAttachmentTypeArray();
            AdminCaches.ReSetTemplateListBoxOptionsCache();
            //AdminCaches.ReSetOnlineGroupIconList();
            AdminCaches.ReSetForumLinkList();
            AdminCaches.ReSetBanWordList();
            AdminCaches.ReSetForumList();
            AdminCaches.ReSetRss();
            AdminCaches.ReSetRssXml();
            AdminCaches.ReSetValidTemplateIDList();
            AdminCaches.ReSetValidScoreName();
            //AdminCaches.ReSetMedalsList();
            AdminCaches.ReSetDBlinkAndTablePrefix();
            AdminCaches.ReSetAllPostTableName();
            AdminCaches.ReSetLastPostTableName();
            AdminCaches.ReSetAdsList();
            AdminCaches.ReSetStatisticsSearchtime();
            AdminCaches.ReSetStatisticsSearchcount();
            AdminCaches.ReSetCommonAvatarList();
            AdminCaches.ReSetJammer();
            AdminCaches.ReSetMagicList();
            AdminCaches.ReSetScorePaySet();
            AdminCaches.ReSetPostTableInfo();
            AdminCaches.ReSetDigestTopicList(16);
            AdminCaches.ReSetHotTopicList(16, 30);
            AdminCaches.ReSetRecentTopicList(16);
            AdminCaches.ResetAlbumCategory();
            AdminCaches.EditDntConfig();

            Online.ResetOnlineList();
        }
예제 #4
0
 public static void ReSetAllPostTableName()
 {
     AdminCaches.RemoveObject(CacheKeys.FORUM_POST_TABLE_NAME);
 }
예제 #5
0
 public static void ResetAlbumCategory()
 {
     AdminCaches.RemoveObject(CacheKeys.SPACE_ALBUM_CATEGORY);
 }
예제 #6
0
 public static void ReSetSiteUrls()
 {
     AdminCaches.RemoveObject(CacheKeys.FORUM_URLS);
 }
예제 #7
0
        //public static void ReSetMedalsList()
        //{
        //    AdminCaches.RemoveObject(CacheKeys.FORUM_UI_MEDALS_LIST);
        //}

        public static void ReSetDBlinkAndTablePrefix()
        {
            AdminCaches.RemoveObject(CacheKeys.FORUM_BASE_SETTING_DBCONNECTSTRING);
            AdminCaches.RemoveObject(CacheKeys.FORUM_BASE_SETTING_TABLE_PREFIX);
        }
예제 #8
0
 public static void ReSetIconsList()
 {
     AdminCaches.RemoveObject(CacheKeys.FORUM_UI_ICONS_LIST);
 }
예제 #9
0
 public static void ReSetConfig()
 {
     AdminCaches.RemoveObject(CacheKeys.FORUM_SETTING);
 }
예제 #10
0
 public static void ReSetAnnouncementList()
 {
     AdminCaches.RemoveObject(CacheKeys.FORUM_ANNOUNCEMENT_LIST);
 }
예제 #11
0
 public static void ReSetCommonAvatarList()
 {
     AdminCaches.RemoveObject(CacheKeys.FORUM_COMMON_AVATAR_LIST);
 }
예제 #12
0
 public static void ReSetPostTableInfo()
 {
     AdminCaches.RemoveObject(CacheKeys.FORUM_POST_TABLE_NAME);
     AdminCaches.RemoveObject(CacheKeys.FORUM_LAST_POST_TABLE_NAME);
 }
예제 #13
0
 public static void ReSetTopiclistByFid(string fid)
 {
     AdminCaches.RemoveObject(string.Format(CacheKeys.FORUM_TOPIC_LIST_FID, fid));
 }
예제 #14
0
 public static void ReSetScorePaySet()
 {
     AdminCaches.RemoveObject(CacheKeys.FORUM_SCORE_PAY_SET);
 }
예제 #15
0
 public static void ReSetMagicList()
 {
     AdminCaches.RemoveObject(CacheKeys.FORUM_MAGIC_LIST);
 }
예제 #16
0
 public static void ReSetJammer()
 {
     AdminCaches.RemoveObject(CacheKeys.FORUM_UI_JAMMER);
 }
예제 #17
0
 public static void ReSetNavPopupMenu()
 {
     AdminCaches.RemoveObject(CacheKeys.FORUM_FORUM_LIST_MENU_DIV);
 }
예제 #18
0
 public static void ReSetForumListBoxOptions()
 {
     AdminCaches.RemoveObject(CacheKeys.FORUM_UI_FORUM_LIST_BOX_OPTIONS);
 }
예제 #19
0
 public static void ReSetDigestTopicList(int count)
 {
     AdminCaches.ReSetFocusTopicList(count, -1, 0, TopicTimeType.All, TopicOrderType.ID, true);
 }
예제 #20
0
 public static void ReSetAdsList()
 {
     AdminCaches.RemoveObject(CacheKeys.FORUM_ADVERTISEMENTS);
 }
예제 #21
0
 public static void ReSetSimplifiedAnnouncementList()
 {
     AdminCaches.RemoveObject(CacheKeys.FORUM_SIMPLIFIED_ANNOUNCEMENT_LIST);
 }
예제 #22
0
 public static void ReSetDigestTopicList(int count, int fid, TopicTimeType timetype, TopicOrderType ordertype)
 {
     AdminCaches.ReSetFocusTopicList(count, -1, fid, timetype, ordertype, true);
 }
예제 #23
0
 public static void ReSetSmiliesList()
 {
     AdminCaches.RemoveObject(CacheKeys.FORUM_UI_SMILIES_LIST);
     AdminCaches.RemoveObject(CacheKeys.FORUM_UI_SMILIES_LIST_WITH_INFO);
 }
예제 #24
0
 public static void ReSetHotTopicList(int count, int views)
 {
     AdminCaches.ReSetFocusTopicList(count, views, 0, TopicTimeType.All, TopicOrderType.ID, false);
 }
예제 #25
0
 public static void ReSetCustomEditButtonList()
 {
     AdminCaches.RemoveObject(CacheKeys.FORUM_UI_CUSTOM_EDIT_BUTTON_LIST);
     //AdminCaches.RemoveObject(CacheKeys.FORUM_UI_CUSTOM_EDIT_BUTTON_INFO);
 }
예제 #26
0
        //public static void ReSetAdminGroupList()
        //{
        //    AdminCaches.RemoveObject(CacheKeys.FORUM_ADMIN_GROUP_LIST);
        //}

        //public static void ReSetUserGroupList()
        //{
        //    AdminCaches.RemoveObject(CacheKeys.FORUM_USER_GROUP_LIST);
        //}

        public static void ReSetModeratorList()
        {
            AdminCaches.RemoveObject(CacheKeys.FORUM_MODERATOR_LIST);
        }
예제 #27
0
 public static void ReSetHotTopicList(int count, int views, int fid, TopicTimeType timetype, TopicOrderType ordertype)
 {
     AdminCaches.ReSetFocusTopicList(count, views, fid, timetype, ordertype, false);
 }
예제 #28
0
 public static void ReSetRecentTopicList(int count)
 {
     AdminCaches.ReSetFocusTopicList(count, -1, 0, TopicTimeType.All, TopicOrderType.ID, false);
 }
예제 #29
0
 public static void ReSetTemplateListBoxOptionsCache()
 {
     AdminCaches.RemoveObject(CacheKeys.FORUM_UI_TEMPLATE_LIST_BOX_OPTIONS_FOR_FORUMINDEX);
     AdminCaches.RemoveObject(CacheKeys.FORUM_UI_TEMPLATE_LIST_BOX_OPTIONS);
 }
예제 #30
0
 public static void ReSetValidScoreName()
 {
     AdminCaches.RemoveObject(CacheKeys.FORUM_VALID_SCORE_NAME);
 }