From b56291cd857721f3ed4335886ab512e10679c154 Mon Sep 17 00:00:00 2001 From: "G. Richardson" Date: Tue, 19 Feb 2019 13:08:53 +0100 Subject: [PATCH] Helper UserPreferences - selectall_ids -> selectcol_array_query --- SL/Helper/UserPreferences.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.20.1