From 29afad5b3be03cf0111193d5fc60b97d0bfddb19 Mon Sep 17 00:00:00 2001 From: Dobrica Pavlinusic Date: Sat, 26 Jun 2010 23:16:55 +0200 Subject: [PATCH] register plugin I tried to setup $self->plugins->namespaces but it didn't work for me. --- lib/MojoFacets.pm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/MojoFacets.pm b/lib/MojoFacets.pm index fb45ed5..cfddc99 100644 --- a/lib/MojoFacets.pm +++ b/lib/MojoFacets.pm @@ -38,6 +38,7 @@ sub save_tx { } } +use MojoFacets::Plugin::NYTProf; # This method will run once at server start sub startup { @@ -58,6 +59,8 @@ sub startup { save_tx( $self, $tx ); } ); + + MojoFacets::Plugin::NYTProf->register( $self ); } -- 2.20.1