77c04c1f07
MRO::Compat. Catalyst::Plugin::XMLRPC is unmaintained and deprecated. from Andreas Voegele
22 lines
689 B
Plaintext
22 lines
689 B
Plaintext
$OpenBSD: patch-lib_Catalyst_Plugin_XMLRPC_pm,v 1.1 2012/04/08 21:58:58 sthen Exp $
|
|
--- lib/Catalyst/Plugin/XMLRPC.pm.orig Wed Oct 21 04:29:12 2009
|
|
+++ lib/Catalyst/Plugin/XMLRPC.pm Sun Nov 6 08:28:08 2011
|
|
@@ -7,7 +7,7 @@ use RPC::XML;
|
|
use RPC::XML::ParserFactory 'XML::Parser';
|
|
use Catalyst::Action;
|
|
use Catalyst::Utils;
|
|
-use NEXT;
|
|
+use MRO::Compat;
|
|
|
|
our $VERSION = '2.01';
|
|
|
|
@@ -107,7 +107,7 @@ sub xmlrpc {
|
|
# Register our DispatchType
|
|
sub setup_dispatcher {
|
|
my $c = shift;
|
|
- $c->NEXT::setup_dispatcher(@_);
|
|
+ $c->maybe::next::method(@_);
|
|
push @{ $c->dispatcher->preload_dispatch_types },
|
|
'+Catalyst::Plugin::XMLRPC::DispatchType::XMLRPC';
|
|
return $c;
|