Skip to content

Commit

Permalink
remove deprecated watch attribute from Mojo::Server::Morbo
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Jul 3, 2017
1 parent 41ac312 commit 4d9b7f3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
3 changes: 2 additions & 1 deletion Changes
@@ -1,5 +1,6 @@

7.35 2017-07-03
7.35 2017-07-04
- Removed deprecated watch attribute from Mojo::Server::Morbo.

7.34 2017-07-02
- Added short attribute to Mojo::Log.
Expand Down
8 changes: 0 additions & 8 deletions lib/Mojo/Server/Morbo.pm
Expand Up @@ -6,7 +6,6 @@ use Mojo::Base -base;
# Morbo: Morbo is pleased but sticky."
use Mojo::Loader 'load_class';
use Mojo::Server::Daemon;
use Mojo::Util 'deprecated';
use POSIX 'WNOHANG';

has backend => sub {
Expand Down Expand Up @@ -36,13 +35,6 @@ sub run {
exit 0;
}

# DEPRECATED!
sub watch {
deprecated 'Mojo::Server::Morbo::watch is DEPRECATED'
. ' in favor of Mojo::Server::Morbo::Backend::Poll::watch';
shift->backend->watch(@_);
}

sub _manage {
my $self = shift;

Expand Down

0 comments on commit 4d9b7f3

Please sign in to comment.