From: G. Richardson Date: Tue, 19 Feb 2019 12:08:53 +0000 (+0100) Subject: Helper UserPreferences - selectall_ids -> selectcol_array_query X-Git-Tag: release-3.5.6.1~539 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=b56291cd857721f3ed4335886ab512e10679c154;p=kivitendo-erp.git Helper UserPreferences - selectall_ids -> selectcol_array_query --- diff --git a/SL/Helper/UserPreferences.pm b/SL/Helper/UserPreferences.pm index 43873e4e5..2e5f127dc 100644 --- a/SL/Helper/UserPreferences.pm +++ b/SL/Helper/UserPreferences.pm @@ -4,7 +4,7 @@ use strict; use parent qw(Rose::Object); use version; -use SL::DBUtils qw(selectall_hashref_query selectfirst_hashref_query do_query selectall_ids); +use SL::DBUtils qw(selectall_hashref_query selectfirst_hashref_query do_query selectcol_array_query); use SL::DB; use Rose::Object::MakeMethods::Generic ( @@ -85,7 +85,7 @@ sub get_all { sub get_keys { my ($self) = @_; - my @keys = selectall_ids($::form, $::form->get_standard_dbh, <<"", 0, $self->login, $self->namespace); + my @keys = selectcol_array_query($::form, SL::DB->client->dbh, <<"", $self->login, $self->namespace); SELECT key FROM user_preferences WHERE login = ? AND namespace = ? return @keys;