diff options
author | Oliver Tappe | 2008-05-27 01:48:52 +0200 |
---|---|---|
committer | Oliver Tappe | 2008-05-27 01:48:52 +0200 |
commit | a1d960e4e71f8d9b5c525ba5876725b93378bec6 (patch) | |
tree | e883edc04e635f14647a9447664ffcba8800844e /config-db/OpenSLX/AttributeRoster.pm | |
parent | * added support to user provided themes (should live in /etc/opt/openslx/desk... (diff) | |
download | core-a1d960e4e71f8d9b5c525ba5876725b93378bec6.tar.gz core-a1d960e4e71f8d9b5c525ba5876725b93378bec6.tar.xz core-a1d960e4e71f8d9b5c525ba5876725b93378bec6.zip |
* refactored code for synchronization of attributes (moved from DBSchema to ConfigDB)
* When doing synchronization of attributes during a schema update, we now look for
any stale attributes in system_attr, client_attr, group_attr or installed_plugin_attr
and remove all those stale attributes automatically. Additionally, non-existent
plugins that are still installed in a vendorOS are removed from that, too.
* Updated DB-Schema to 0.31 in order to trigger this automatic cleaning process
git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1805 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'config-db/OpenSLX/AttributeRoster.pm')
-rw-r--r-- | config-db/OpenSLX/AttributeRoster.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config-db/OpenSLX/AttributeRoster.pm b/config-db/OpenSLX/AttributeRoster.pm index de7b5ced..2f7ca3dd 100644 --- a/config-db/OpenSLX/AttributeRoster.pm +++ b/config-db/OpenSLX/AttributeRoster.pm @@ -392,7 +392,7 @@ An hash-ref with info about all known attributes. sub getAttrInfo { my $class = shift; - my $params = shift; + my $params = shift || {}; $class->_init() if !%AttributeInfo; |