Commit 95f2fda3 authored by IKEDA Soji's avatar IKEDA Soji
Browse files

tidyall.

parent 619b7e2b
......@@ -1620,7 +1620,7 @@ while ($query = Sympa::WWW::FastCGI->new) {
}
 
# Deprecated tt2 function. Compat. <= 6.2.62
$param->{'is_user_allowed_to'} = sub { 0 };
$param->{'is_user_allowed_to'} = sub {0};
 
## store in session table this session contexte
$session->store();
......
......@@ -70,10 +70,9 @@ sub connect {
$self->__dbh->do("SET DATESTYLE TO 'ISO';");
$self->__dbh->do("SET NAMES 'utf8'");
defined $self->__dbh->do(
q{CREATE TEMPORARY VIEW dual AS SELECT 'X'::varchar(1) AS dummy;}
) or $self->__dbh->do(
q{CREATE OR REPLACE VIEW dual AS SELECT 'X'::varchar(1) AS dummy;}
);
q{CREATE TEMPORARY VIEW dual AS SELECT 'X'::varchar(1) AS dummy;})
or $self->__dbh->do(
q{CREATE OR REPLACE VIEW dual AS SELECT 'X'::varchar(1) AS dummy;});
return 1;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment