From 744418aefbf02bc30b5dcc83fb8c2d1fd524964b Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Thu, 4 Jul 2013 09:21:19 +0200 Subject: [PATCH] Kosmetik: Alignment --- SL/Controller/ClientConfig.pm | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/SL/Controller/ClientConfig.pm b/SL/Controller/ClientConfig.pm index fd2cf6526..ea5c1b0ed 100644 --- a/SL/Controller/ClientConfig.pm +++ b/SL/Controller/ClientConfig.pm @@ -133,12 +133,12 @@ sub action_save { # initializers # -sub init_defaults { SL::DB::Default->get } -sub init_all_warehouses { SL::DB::Manager::Warehouse->get_all_sorted } -sub init_all_languages { SL::DB::Manager::Language->get_all_sorted } -sub init_all_currencies { SL::DB::Manager::Currency->get_all_sorted } +sub init_defaults { SL::DB::Default->get } +sub init_all_warehouses { SL::DB::Manager::Warehouse->get_all_sorted } +sub init_all_languages { SL::DB::Manager::Language->get_all_sorted } +sub init_all_currencies { SL::DB::Manager::Currency->get_all_sorted } sub init_all_weightunits { my $unit = SL::DB::Manager::Unit->find_by(name => 'g'); $unit ? $unit->convertible_units : [] } -sub init_all_templates { +{ SL::Template->available_templates } } +sub init_all_templates { +{ SL::Template->available_templates } } sub init_posting_options { [ { title => t8("never"), value => 0 }, -- 2.20.1