Exemplo n.º 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);
 }
Exemplo n.º 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);
        }
Exemplo n.º 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();
        }
Exemplo n.º 4
0
 public static void ReSetAllPostTableName()
 {
     AdminCaches.RemoveObject(CacheKeys.FORUM_POST_TABLE_NAME);
 }
Exemplo n.º 5
0
 public static void ResetAlbumCategory()
 {
     AdminCaches.RemoveObject(CacheKeys.SPACE_ALBUM_CATEGORY);
 }
Exemplo n.º 6
0
 public static void ReSetSiteUrls()
 {
     AdminCaches.RemoveObject(CacheKeys.FORUM_URLS);
 }
Exemplo n.º 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);
        }
Exemplo n.º 8
0
 public static void ReSetIconsList()
 {
     AdminCaches.RemoveObject(CacheKeys.FORUM_UI_ICONS_LIST);
 }
Exemplo n.º 9
0
 public static void ReSetConfig()
 {
     AdminCaches.RemoveObject(CacheKeys.FORUM_SETTING);
 }
Exemplo n.º 10
0
 public static void ReSetAnnouncementList()
 {
     AdminCaches.RemoveObject(CacheKeys.FORUM_ANNOUNCEMENT_LIST);
 }
Exemplo n.º 11
0
 public static void ReSetCommonAvatarList()
 {
     AdminCaches.RemoveObject(CacheKeys.FORUM_COMMON_AVATAR_LIST);
 }
Exemplo n.º 12
0
 public static void ReSetPostTableInfo()
 {
     AdminCaches.RemoveObject(CacheKeys.FORUM_POST_TABLE_NAME);
     AdminCaches.RemoveObject(CacheKeys.FORUM_LAST_POST_TABLE_NAME);
 }
Exemplo n.º 13
0
 public static void ReSetTopiclistByFid(string fid)
 {
     AdminCaches.RemoveObject(string.Format(CacheKeys.FORUM_TOPIC_LIST_FID, fid));
 }
Exemplo n.º 14
0
 public static void ReSetScorePaySet()
 {
     AdminCaches.RemoveObject(CacheKeys.FORUM_SCORE_PAY_SET);
 }
Exemplo n.º 15
0
 public static void ReSetMagicList()
 {
     AdminCaches.RemoveObject(CacheKeys.FORUM_MAGIC_LIST);
 }
Exemplo n.º 16
0
 public static void ReSetJammer()
 {
     AdminCaches.RemoveObject(CacheKeys.FORUM_UI_JAMMER);
 }
Exemplo n.º 17
0
 public static void ReSetNavPopupMenu()
 {
     AdminCaches.RemoveObject(CacheKeys.FORUM_FORUM_LIST_MENU_DIV);
 }
Exemplo n.º 18
0
 public static void ReSetForumListBoxOptions()
 {
     AdminCaches.RemoveObject(CacheKeys.FORUM_UI_FORUM_LIST_BOX_OPTIONS);
 }
Exemplo n.º 19
0
 public static void ReSetDigestTopicList(int count)
 {
     AdminCaches.ReSetFocusTopicList(count, -1, 0, TopicTimeType.All, TopicOrderType.ID, true);
 }
Exemplo n.º 20
0
 public static void ReSetAdsList()
 {
     AdminCaches.RemoveObject(CacheKeys.FORUM_ADVERTISEMENTS);
 }
Exemplo n.º 21
0
 public static void ReSetSimplifiedAnnouncementList()
 {
     AdminCaches.RemoveObject(CacheKeys.FORUM_SIMPLIFIED_ANNOUNCEMENT_LIST);
 }
Exemplo n.º 22
0
 public static void ReSetDigestTopicList(int count, int fid, TopicTimeType timetype, TopicOrderType ordertype)
 {
     AdminCaches.ReSetFocusTopicList(count, -1, fid, timetype, ordertype, true);
 }
Exemplo n.º 23
0
 public static void ReSetSmiliesList()
 {
     AdminCaches.RemoveObject(CacheKeys.FORUM_UI_SMILIES_LIST);
     AdminCaches.RemoveObject(CacheKeys.FORUM_UI_SMILIES_LIST_WITH_INFO);
 }
Exemplo n.º 24
0
 public static void ReSetHotTopicList(int count, int views)
 {
     AdminCaches.ReSetFocusTopicList(count, views, 0, TopicTimeType.All, TopicOrderType.ID, false);
 }
Exemplo n.º 25
0
 public static void ReSetCustomEditButtonList()
 {
     AdminCaches.RemoveObject(CacheKeys.FORUM_UI_CUSTOM_EDIT_BUTTON_LIST);
     //AdminCaches.RemoveObject(CacheKeys.FORUM_UI_CUSTOM_EDIT_BUTTON_INFO);
 }
Exemplo n.º 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);
        }
Exemplo n.º 27
0
 public static void ReSetHotTopicList(int count, int views, int fid, TopicTimeType timetype, TopicOrderType ordertype)
 {
     AdminCaches.ReSetFocusTopicList(count, views, fid, timetype, ordertype, false);
 }
Exemplo n.º 28
0
 public static void ReSetRecentTopicList(int count)
 {
     AdminCaches.ReSetFocusTopicList(count, -1, 0, TopicTimeType.All, TopicOrderType.ID, false);
 }
Exemplo n.º 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);
 }
Exemplo n.º 30
0
 public static void ReSetValidScoreName()
 {
     AdminCaches.RemoveObject(CacheKeys.FORUM_VALID_SCORE_NAME);
 }