namespace PT renamed to pt
This commit is contained in:
@@ -103,7 +103,7 @@ bool Item::insert(morm::ModelData * model_data, bool update_whole_tree)
|
||||
{
|
||||
if( !url_prepared_correctly )
|
||||
{
|
||||
PT::Toa(id, url);
|
||||
pt::Toa(id, url);
|
||||
insert_status = morm::Model::update(model_data, false);
|
||||
}
|
||||
}
|
||||
@@ -137,7 +137,7 @@ bool Item::update(morm::ModelData * model_data, bool update_whole_tree)
|
||||
{
|
||||
if( !url_prepared_correctly )
|
||||
{
|
||||
PT::Toa(id, url);
|
||||
pt::Toa(id, url);
|
||||
update_status = morm::Model::update(model_data, false);
|
||||
}
|
||||
}
|
||||
@@ -197,7 +197,7 @@ std::wstring postfix;
|
||||
if( index > 1 )
|
||||
{
|
||||
postfix = L"_(";
|
||||
PT::Toa(index, postfix, false);
|
||||
pt::Toa(index, postfix, false);
|
||||
postfix += L")";
|
||||
}
|
||||
|
||||
@@ -291,14 +291,14 @@ bool Item::do_migration_to_2()
|
||||
eq(L"content_id", -1).
|
||||
get_list();
|
||||
|
||||
PT::Log * log = model_connector->get_logger();
|
||||
pt::Log * log = model_connector->get_logger();
|
||||
|
||||
for(Item & item : list)
|
||||
{
|
||||
if( log )
|
||||
{
|
||||
(*log) << "Item: adding a content row corresponding to item id: " << item.id << ", type: " << (int)item.type << ", url: " << item.url
|
||||
<< ", subject: " << item.subject << PT::Log::logend;
|
||||
<< ", subject: " << item.subject << pt::Log::logend;
|
||||
}
|
||||
|
||||
item.item_content.set_save_mode(morm::Model::DO_INSERT_ON_SAVE);
|
||||
|
||||
Reference in New Issue
Block a user