Move conf backends (#595)
parent
c52bddd9ef
commit
118beaa022
@ -1,12 +1,12 @@ |
||||
package Lemonldap::NG::Common::Conf::CDBI; |
||||
package Lemonldap::NG::Common::Conf::Backends::CDBI; |
||||
|
||||
use strict; |
||||
use utf8; |
||||
use JSON; |
||||
use Lemonldap::NG::Common::Conf::_DBI; |
||||
use Lemonldap::NG::Common::Conf::Backends::_DBI; |
||||
|
||||
our $VERSION = '2.0.0'; |
||||
our @ISA = qw(Lemonldap::NG::Common::Conf::_DBI); |
||||
our @ISA = qw(Lemonldap::NG::Common::Conf::Backends::_DBI); |
||||
|
||||
sub store { |
||||
my ( $self, $fields ) = @_; |
@ -1,12 +1,12 @@ |
||||
package Lemonldap::NG::Common::Conf::DBI; |
||||
package Lemonldap::NG::Common::Conf::Backends::DBI; |
||||
|
||||
use strict; |
||||
use utf8; |
||||
use Lemonldap::NG::Common::Conf::Serializer; |
||||
use Lemonldap::NG::Common::Conf::_DBI; |
||||
use Lemonldap::NG::Common::Conf::Backends::_DBI; |
||||
|
||||
our $VERSION = '2.0.0'; |
||||
our @ISA = qw(Lemonldap::NG::Common::Conf::_DBI); |
||||
our @ISA = qw(Lemonldap::NG::Common::Conf::Backends::_DBI); |
||||
|
||||
sub store { |
||||
my ( $self, $fields ) = @_; |
@ -1,4 +1,4 @@ |
||||
package Lemonldap::NG::Common::Conf::File; |
||||
package Lemonldap::NG::Common::Conf::Backends::File; |
||||
|
||||
use strict; |
||||
use Lemonldap::NG::Common::Conf::Constants; #inherits |
@ -1,9 +1,9 @@ |
||||
# Now, File.pm is a mix of the old File.pm and JSONFile.pm. So this file is |
||||
# just set for compatibility |
||||
package Lemonldap::NG::Common::Conf::JSONFile; |
||||
package Lemonldap::NG::Common::Conf::Backends::JSONFile; |
||||
|
||||
use Lemonldap::NG::Common::Conf::File; |
||||
our @ISA = qw(Lemonldap::NG::Common::Conf::File); |
||||
our @ISA = qw(Lemonldap::NG::Common::Conf::Backends::File); |
||||
|
||||
1; |
||||
|
@ -1,4 +1,4 @@ |
||||
package Lemonldap::NG::Common::Conf::MongoDB; |
||||
package Lemonldap::NG::Common::Conf::Backends::MongoDB; |
||||
|
||||
use 5.010; |
||||
use utf8; |
@ -1,12 +1,12 @@ |
||||
package Lemonldap::NG::Common::Conf::RDBI; |
||||
package Lemonldap::NG::Common::Conf::Backends::RDBI; |
||||
|
||||
use strict; |
||||
use utf8; |
||||
use Lemonldap::NG::Common::Conf::Serializer; |
||||
use Lemonldap::NG::Common::Conf::_DBI; |
||||
use Lemonldap::NG::Common::Conf::Backends::_DBI; |
||||
|
||||
our $VERSION = '2.0.0'; |
||||
our @ISA = qw(Lemonldap::NG::Common::Conf::_DBI); |
||||
our @ISA = qw(Lemonldap::NG::Common::Conf::Backends::_DBI); |
||||
|
||||
sub store { |
||||
my ( $self, $fields ) = @_; |
@ -1,4 +1,4 @@ |
||||
package Lemonldap::NG::Common::Conf::_DBI; |
||||
package Lemonldap::NG::Common::Conf::Backends::_DBI; |
||||
|
||||
use strict; |
||||
use utf8; |
Loading…
Reference in new issue