]> Frank Brehm's Git Trees - books.git/commitdiff
Bugfixing
authorFrank Brehm <frank@brehm-online.com>
Tue, 16 Feb 2010 15:00:12 +0000 (15:00 +0000)
committerFrank Brehm <frank@brehm-online.com>
Tue, 16 Feb 2010 15:00:12 +0000 (15:00 +0000)
lib/FrBr/Books/Controller/Verlag.pm
lib/FrBr/Books/Plugin/Verlag.pm

index 78ea4395ae45c52c57913424a53b6c1a6b2a5aac..03ee2bf8a7af5e88481ef4eef978f4d09115fa27 100644 (file)
@@ -409,7 +409,7 @@ sub delete_verlag_form : Path('delete') {
 
     if ( $c->request->params->{'really_delete_verlag'} and $c->request->params->{'really_delete_verlag'} eq 'yes' and $c->request->params->{'do_delete'} ) {
         eval {
-            delete_verlag( $c, $vid );
+            $c->b_delete_verlag( $vid );
         };
         if ( $@ ) {
             $c->stash->{'error_message'} = $@;
@@ -433,7 +433,7 @@ sub do_save_verlag : Private {
        my $vid = undef;
 
     eval {
-               $vid = save_verlag( $c, $c->stash->{'verlag_edit'} );
+               $vid = $c->b_save_verlag( $c->stash->{'verlag_edit'} );
     };
     if ( $@ ) {
         $c->stash->{'error_message'} = $@;
index 937333cbcb278a186b40a05144e50c534a253e93..51b8e455d7f3c4e223942b8950a3ef3523409209 100644 (file)
@@ -15,10 +15,6 @@ our $VERSION = '0.02';
     $VERSION = sprintf( $VERSION . ".%d", $rev );
 }
 
-#       &get_verlagsliste
-#       &save_verlag
-#              &delete_verlag
-
 =head1 NAME
 
 FrBr::Books::Plugin::Author - Plugin-Modul fuer Funktionen rund um Autoren