aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMaarten Vanraes <alien@mageia.org>2016-05-09 09:50:02 +0200
committerMaarten Vanraes <alien@mageia.org>2016-05-09 10:22:32 +0200
commitf65822318e0b3a033d315c5625074b654e9f6450 (patch)
treeff7656d259f769634ea8039b95a3f82228a7c986 /lib
parent4997e1125363ee72d6e041966ef1a600fe596790 (diff)
downloadmanatools-f65822318e0b3a033d315c5625074b654e9f6450.tar
manatools-f65822318e0b3a033d315c5625074b654e9f6450.tar.gz
manatools-f65822318e0b3a033d315c5625074b654e9f6450.tar.bz2
manatools-f65822318e0b3a033d315c5625074b654e9f6450.tar.xz
manatools-f65822318e0b3a033d315c5625074b654e9f6450.zip
Users: obsolete moduleName with the Module's new name attribute
Diffstat (limited to 'lib')
-rw-r--r--lib/ManaTools/Module/Users.pm13
1 files changed, 3 insertions, 10 deletions
diff --git a/lib/ManaTools/Module/Users.pm b/lib/ManaTools/Module/Users.pm
index 3e872ffa..863f0266 100644
--- a/lib/ManaTools/Module/Users.pm
+++ b/lib/ManaTools/Module/Users.pm
@@ -96,13 +96,6 @@ sub _configDirBuilder {
with 'ManaTools::ConfigDirRole';
-has 'moduleName' => (
- is => 'ro',
- isa => 'Str',
- init_arg => undef,
- default => 'manauser',
-);
-
has '+name' => (
default => 'manauser',
required => 0,
@@ -233,7 +226,7 @@ has 'groups_users_tab' => (
sub identifier {
my $self = shift;
- return $self->moduleName();
+ return $self->name();
}
#=============================================================
@@ -251,7 +244,7 @@ sub identifier {
=head3 DESCRIPTION
Returns the module name as configuration subdirectory.
- This method is required by ConfifDirRole
+ This method is required by ConfigDirRole
=cut
@@ -259,7 +252,7 @@ sub identifier {
sub configName {
my $self = shift;
- return $self->moduleName();
+ return $self->name();
}
#=============================================================