Skip to content

Commit

Permalink
Merge 40c3444 into e5d819b
Browse files Browse the repository at this point in the history
  • Loading branch information
teclator committed Nov 11, 2019
2 parents e5d819b + 40c3444 commit eb4ee82
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 92 deletions.
22 changes: 0 additions & 22 deletions src/modules/YaPI/Samba.pm
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,6 @@ $serverRole = DetermineRole()
returns a string representing the currently configure role or
undef on failure.
$enabled = GetServiceStatus()
returns true if the services smbd and nmbd are enabled, false if either of
them is disabled or undef on failure.
$enabled = EditService($enable)
enabled/disables the smbd and nmbd services. returns the status of the
Expand Down Expand Up @@ -150,23 +145,6 @@ use strict;
# API start
#######################################################

=item *
C<$hostList = GetServiceStatus ();>
Returns the current status of smb and nmb services. True means
the services are both started in at least on runlevel.
On error, undef is returned and the Error() function can be used
to get the error hash.
=cut

BEGIN { $TYPEINFO{GetServiceStatus} = ["function", "string" ]; }
sub GetServiceStatus {
my $self = shift;
SambaService->Read();
return SambaService->GetServiceAutoStart();
}

=item *
C<$serverRole = DetermineRole();>
Expand Down
70 changes: 0 additions & 70 deletions testsuite/YaPI/tests/YaPI-GetServiceStatus.rb

This file was deleted.

0 comments on commit eb4ee82

Please sign in to comment.