koha-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Koha-cvs] koha/C4 Labels.pm [rel_2_2]


From: Mason James
Subject: [Koha-cvs] koha/C4 Labels.pm [rel_2_2]
Date: Wed, 11 Jul 2007 12:55:40 +0000

CVSROOT:        /sources/koha
Module name:    koha
Branch:         rel_2_2
Changes by:     Mason James <sushi>     07/07/11 12:55:40

Modified files:
        C4             : Labels.pm 

Log message:
        removing uneeded 'active' arg to SaveTemplate()

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/C4/Labels.pm?cvsroot=koha&only_with_tag=rel_2_2&r1=1.3.2.5&r2=1.3.2.6

Patches:
Index: Labels.pm
===================================================================
RCS file: /sources/koha/koha/C4/Labels.pm,v
retrieving revision 1.3.2.5
retrieving revision 1.3.2.6
diff -u -b -r1.3.2.5 -r1.3.2.6
--- Labels.pm   10 Jul 2007 13:23:24 -0000      1.3.2.5
+++ Labels.pm   11 Jul 2007 12:55:39 -0000      1.3.2.6
@@ -428,14 +428,12 @@
 }
 
 sub SaveTemplate {
-
     my (
         $tmpl_id,     $tmpl_code,   $tmpl_desc,    $page_width,
         $page_height, $label_width, $label_height, $topmargin,
         $leftmargin,  $cols,        $rows,         $colgap,
-        $rowgap,      $active,      $fontsize,     $units
+        $rowgap,      $fontsize,     $units
     ) = @_;
-
     my $dbh = C4::Context->dbh;
     my $query =
       " UPDATE labels_templates SET tmpl_code=?, tmpl_desc=?, page_width=?,
@@ -452,8 +450,6 @@
         $fontsize,    $units,        $tmpl_id
     );
     $sth->finish;
-
-    SetActiveTemplate($tmpl_id) if ( $active eq '1' );
 }
 
 sub CreateTemplate {




reply via email to

[Prev in Thread] Current Thread [Next in Thread]