- updated to the new pikotools api (child spaces were removed)
some plugins need to be fixed yet: ticket, gallery, group, menu - added current user to default models as "user" - renamed in User: super_user -> is_super_user, env -> admin_env, pass_hash_salted -> is_pass_hash_salted - now Users class has a WinixModel as a base class some plugin calls have to be fixed yet - added UserWrapper model with a pointer to User class - removed from ItemContent: methods for accessing 'meta' and 'admin_meta', now ezc can iterate through Space classes - fixed in env winix function: if there is "changeuser" parameter then we should only switch the user (not save anything)
This commit is contained in:
@@ -123,11 +123,11 @@ bool TimeZones::Empty() const
|
||||
|
||||
void TimeZones::ParseZones()
|
||||
{
|
||||
pt::Space::TableType * child_table = temp_space.find_child_space_table();
|
||||
pt::Space::TableType * timezones_table = temp_space.get_table(L"timezones");
|
||||
|
||||
if( child_table )
|
||||
if( timezones_table )
|
||||
{
|
||||
for(pt::Space * zone : *child_table)
|
||||
for(pt::Space * zone : *timezones_table)
|
||||
{
|
||||
temp_zone.Clear();
|
||||
|
||||
@@ -155,7 +155,7 @@ void TimeZones::ParseZones()
|
||||
else
|
||||
{
|
||||
log << log1 << "System: problem with reading time zone info from time zone: "
|
||||
<< zone->get_child_space_name() << " (skipping) " << logend;
|
||||
<< zone->to_wstr(L"name") << " (skipping) " << logend;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user