Revision b56291cd
Von G. Richardson vor mehr als 5 Jahren hinzugefügt
SL/Helper/UserPreferences.pm | ||
---|---|---|
4 | 4 |
use parent qw(Rose::Object); |
5 | 5 |
use version; |
6 | 6 |
|
7 |
use SL::DBUtils qw(selectall_hashref_query selectfirst_hashref_query do_query selectall_ids);
|
|
7 |
use SL::DBUtils qw(selectall_hashref_query selectfirst_hashref_query do_query selectcol_array_query);
|
|
8 | 8 |
use SL::DB; |
9 | 9 |
|
10 | 10 |
use Rose::Object::MakeMethods::Generic ( |
... | ... | |
85 | 85 |
sub get_keys { |
86 | 86 |
my ($self) = @_; |
87 | 87 |
|
88 |
my @keys = selectall_ids($::form, $::form->get_standard_dbh, <<"", 0, $self->login, $self->namespace);
|
|
88 |
my @keys = selectcol_array_query($::form, SL::DB->client->dbh, <<"", $self->login, $self->namespace);
|
|
89 | 89 |
SELECT key FROM user_preferences WHERE login = ? AND namespace = ? |
90 | 90 |
|
91 | 91 |
return @keys; |
Auch abrufbar als: Unified diff
Helper UserPreferences - selectall_ids -> selectcol_array_query