Bug 32071: Compiled CSS
[koha-ffzg.git] / Koha / FrameworkPlugin.pm
index 2abe75e..2331bfa 100644 (file)
@@ -4,18 +4,18 @@ package Koha::FrameworkPlugin;
 #
 # This file is part of Koha.
 #
-# Koha is free software; you can redistribute it and/or modify it under the
-# terms of the GNU General Public License as published by the Free Software
-# Foundation; either version 3 of the License, or (at your option) any later
-# version.
+# Koha is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 3 of the License, or
+# (at your option) any later version.
 #
-# Koha is distributed in the hope that it will be useful, but WITHOUT ANY
-# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
-# A PARTICULAR PURPOSE.  See the GNU General Public License for more details.
+# Koha is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
 #
-# You should have received a copy of the GNU General Public License along
-# with Koha; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+# You should have received a copy of the GNU General Public License
+# along with Koha; if not, see <http://www.gnu.org/licenses>.
 
 =head1 NAME
 
@@ -155,7 +155,7 @@ sub new {
     Generate html and javascript by calling the builder sub of the plugin.
 
     Params is a hashref supporting keys: id (=html id for the input field),
-    record (MARC record or undef), dbh (database handle), tagslib, tabloop.
+    record (MARC record or undef), dbh (database handle), tagslib.
     Note that some of these parameters are not used in most (if not all)
     plugins and may be obsoleted in the future (kept for now to provide
     backward compatibility).
@@ -276,7 +276,7 @@ sub _generate_js {
 
     my @params = $self->{oldschool}//0 ?
         ( $params->{dbh}, $params->{record}, $params->{tagslib},
-            $params->{id}, $params->{tabloop} ):
+            $params->{id} ):
         ( $params );
     my @rv = &$sub( @params );
     return $self->_error( 'Builder sub failed: ' . $@ ) if $@;