ffzg/recall_notices.pl: added --interval and --dedup
[koha.git] / opac / opac-mymessages.pl
index 393acd3..31bbd0c 100755 (executable)
@@ -17,8 +17,7 @@
 # You should have received a copy of the GNU General Public License
 # along with Koha; if not, see <http://www.gnu.org/licenses>.
 
-use strict;
-use warnings;
+use Modern::Perl;
 
 use CGI qw ( -utf8 );
 
@@ -36,7 +35,6 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user(
         query           => $query,
         type            => 'opac',
         authnotrequired => 0,
-        flagsrequired   => { borrow => 1 },
         debug           => 1,
     }
 );
@@ -48,4 +46,4 @@ my $messages = C4::Letters::GetRSSMessages( { borrowernumber => $borrowernumber,
 $template->param( message_list => $messages,
              );
 
-output_html_with_http_headers $query, $cookie, $template->output;
+output_html_with_http_headers $query, $cookie, $template->output, undef, { force_no_caching => 1 };