namespace PT renamed to pt
This commit is contained in:
@@ -80,7 +80,7 @@ bool Reply::HasAccess()
|
||||
return false;
|
||||
|
||||
|
||||
PT::Space * thread_space = cur->request->item.item_content.meta_admin.find_child_space(L"thread");
|
||||
pt::Space * thread_space = cur->request->item.item_content.meta_admin.find_child_space(L"thread");
|
||||
|
||||
if( thread_space )
|
||||
{
|
||||
|
@@ -298,7 +298,7 @@ void thread_sort_tab_date_creation(Info & i)
|
||||
{
|
||||
if( item_sort_index < thread_info.item_sort_tab.size() )
|
||||
{
|
||||
PT::Date date = system->ToLocal(thread_info.item_sort_tab[item_sort_index]->item_content.date_creation);
|
||||
pt::Date date = system->ToLocal(thread_info.item_sort_tab[item_sort_index]->item_content.date_creation);
|
||||
i.out << DateToStr(date.year, date.month, date.day, date.hour, date.min, date.sec);
|
||||
}
|
||||
}
|
||||
@@ -308,7 +308,7 @@ void thread_sort_tab_date_modification(Info & i)
|
||||
{
|
||||
if( item_sort_index < thread_info.item_sort_tab.size() )
|
||||
{
|
||||
PT::Date date = system->ToLocal(thread_info.item_sort_tab[item_sort_index]->item_content.date_modification);
|
||||
pt::Date date = system->ToLocal(thread_info.item_sort_tab[item_sort_index]->item_content.date_modification);
|
||||
i.out << DateToStr(date.year, date.month, date.day, date.hour, date.min, date.sec);
|
||||
}
|
||||
}
|
||||
@@ -337,8 +337,8 @@ void thread_sort_tab_dates_equal(Info & i)
|
||||
{
|
||||
if( item_sort_index < thread_info.item_sort_tab.size() )
|
||||
{
|
||||
PT::Date & date1 = thread_info.item_sort_tab[item_sort_index]->item_content.date_creation;
|
||||
PT::Date & date2 = thread_info.item_sort_tab[item_sort_index]->item_content.date_modification;
|
||||
pt::Date & date1 = thread_info.item_sort_tab[item_sort_index]->item_content.date_creation;
|
||||
pt::Date & date2 = thread_info.item_sort_tab[item_sort_index]->item_content.date_modification;
|
||||
|
||||
i.res = date1 == date2;
|
||||
}
|
||||
|
@@ -57,7 +57,7 @@ public:
|
||||
|
||||
// the last file in a thread
|
||||
long last_item_id;
|
||||
PT::Date last_item_date_modification;
|
||||
pt::Date last_item_date_modification;
|
||||
long last_item_user_id;
|
||||
std::wstring last_item_guest_name;
|
||||
|
||||
|
Reference in New Issue
Block a user