diff options
author | Oliver Tappe | 2007-05-02 23:34:33 +0200 |
---|---|---|
committer | Oliver Tappe | 2007-05-02 23:34:33 +0200 |
commit | aaa042a0cb0ba83d60d6b9479a42665f7b1eab54 (patch) | |
tree | db223d114e20802493ea5a1ec670abc008bca38f /config-db/OpenSLX/MetaDB | |
parent | * reverted recent addition of --verbose-level to short help, as that is no sc... (diff) | |
download | core-aaa042a0cb0ba83d60d6b9479a42665f7b1eab54.tar.gz core-aaa042a0cb0ba83d60d6b9479a42665f7b1eab54.tar.xz core-aaa042a0cb0ba83d60d6b9479a42665f7b1eab54.zip |
overhaul the settings concept:
* now all settings live in the settings file, no more settings table in the DB
* clearified slxsettings and its options
* removed all references to db table 'settings'
* added some new extended settings
git-svn-id: http://svn.openslx.org/svn/openslx/trunk@988 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'config-db/OpenSLX/MetaDB')
-rw-r--r-- | config-db/OpenSLX/MetaDB/Base.pm | 43 | ||||
-rw-r--r-- | config-db/OpenSLX/MetaDB/DBI.pm | 14 |
2 files changed, 0 insertions, 57 deletions
diff --git a/config-db/OpenSLX/MetaDB/Base.pm b/config-db/OpenSLX/MetaDB/Base.pm index 2d6f0374..db1f2e7e 100644 --- a/config-db/OpenSLX/MetaDB/Base.pm +++ b/config-db/OpenSLX/MetaDB/Base.pm @@ -115,10 +115,6 @@ sub fetchGroupIDsOfSystem { } -sub fetchSettings -{ -} - ################################################################################ ### data manipulation interface ################################################################################ @@ -215,10 +211,6 @@ sub setSystemIDsOfGroup { } -sub changeSettings -{ -} - ################################################################################ ### schema related functions ################################################################################ @@ -786,21 +778,6 @@ An array of client-IDs. -=item C<fetchSettings()> - -Fetches all entries of the settings table, where a single row holds the info -about all system wide configuration parameters. - -=over - -=item Return Value - -A hash containing all column values of the single row that lives -int the settings table. - -=back - - =head2 Data Manipulation Methods The following methods need to be implemented in a MetaDB driver in order to @@ -1234,26 +1211,6 @@ C<1> if the group/system references could be set, C<undef> if not. -=item C<changeSettings(%$settings)> - -Changes one or more of the system-wide setting parameters. - -=over - -=item Param C<settings> - -A hash-ref containing the column-names you'd like to change with their new -values. - -=item Return Value - -C<1> if the settings could be changed, C<undef> if not. - -=back - - - - =head2 Schema Related Methods diff --git a/config-db/OpenSLX/MetaDB/DBI.pm b/config-db/OpenSLX/MetaDB/DBI.pm index 9678afe4..29e9bb41 100644 --- a/config-db/OpenSLX/MetaDB/DBI.pm +++ b/config-db/OpenSLX/MetaDB/DBI.pm @@ -323,13 +323,6 @@ sub fetchGroupIDsOfClient return $self->_doSelect($sql, 'group_id'); } -sub fetchSettings -{ - my $self = shift; - my $sql = "SELECT * FROM settings"; - return $self->_doSelect($sql); -} - ################################################################################ ### data manipulation functions ################################################################################ @@ -704,13 +697,6 @@ sub setSystemIDsOfGroup 'group_id', 'system_id', \@currSystems); } -sub changeSettings -{ - my $self = shift; - my $settings = shift; - return $self->_doUpdate('settings', undef, [ $settings ]); -} - ################################################################################ ### schema related functions ################################################################################ |