updated ticket plugin to the new ezc api (child spaces were removed)

This commit is contained in:
2021-06-29 23:42:57 +02:00
parent 66173c7a31
commit 0f78968579
10 changed files with 237 additions and 259 deletions

View File

@@ -150,8 +150,7 @@ void SessionData::BuildFileList(std::vector<long> & file_tab, pt::Space & space)
{
for(pt::Space * sp : *child_table)
{
if( sp->is_equal(L"name", L"param") )
CheckFile(file_tab, *sp);
CheckFile(file_tab, *sp);
}
}
}
@@ -165,10 +164,7 @@ void SessionData::CheckFile(std::vector<long> & file_tab, pt::Space & space)
{
for(pt::Space * sp : *child_table)
{
if( sp->is_equal(L"name", L"file") )
{
file_tab.push_back(sp->to_long(L"itemid"));
}
file_tab.push_back(sp->to_long(L"itemid"));
}
}
}