Bug 8798: (follow-up) remove tabs
authorElliott Davis <elliott@bywatersolutions.com>
Tue, 4 Sep 2012 03:22:12 +0000 (22:22 -0500)
committerGalen Charlton <gmc@esilibrary.com>
Mon, 14 Oct 2013 21:08:02 +0000 (21:08 +0000)
Signed-off-by: wajasu <matted-34813@mypacks.net>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
C4/Context.pm
C4/Installer/PerlDependencies.pm

index 35afb38..db09a86 100644 (file)
@@ -1012,8 +1012,9 @@ sub _new_schema {
     my $db_port   = $context->config("port") || '';
     my $db_user   = $context->config("user");
     my $db_passwd = $context->config("pass");
-    my $schema= Koha::Schema->connect("DBI:$db_driver:dbname=$db_name;host=$db_host;port=$db_port",
-                                            $db_user, $db_passwd);
+    my $schema = Koha::Schema->connect(
+        "DBI:$db_driver:dbname=$db_name;host=$db_host;port=$db_port",
+        $db_user, $db_passwd );
     return $schema;
 }
 
@@ -1036,7 +1037,7 @@ sub schema {
     my $self = shift;
     my $sth;
 
-    if (defined($context->{"schema"}) && $context->{"schema"}->ping()) {
+    if ( defined( $context->{"schema"} ) && $context->{"schema"}->ping() ) {
         return $context->{"schema"};
     }
 
index 0837e3a..b769c48 100644 (file)
@@ -55,10 +55,10 @@ our $PERL_DEPS = {
         'min_ver'  => '1.53'
     },
     'DBIx::Class::Schema::Loader' => {
-  'usage'    => 'Core',
+        'usage'    => 'Core',
         'required' => '1',
         'min_ver'  => '0.07000'
-     },
+    },
     'Net::Z3950::ZOOM' => {
         'usage'    => 'Core',
         'required' => '1',