Bugzilla – Attachment 62495 Details for
Bug 17669
Add purging temporary uploads to cleanup_database
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 17669: Remove warning 'variable $kohaobj masks earlier declaration in same scope'
Bug-17669-Remove-warning-variable-kohaobj-masks-ea.patch (text/plain), 1.11 KB, created by
Jonathan Druart
on 2017-04-20 18:28:46 UTC
(
hide
)
Description:
Bug 17669: Remove warning 'variable $kohaobj masks earlier declaration in same scope'
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2017-04-20 18:28:46 UTC
Size:
1.11 KB
patch
obsolete
>From f6f47e30d3cb6f5dee8bd5454548346052577db6 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Thu, 20 Apr 2017 01:10:14 -0300 >Subject: [PATCH] Bug 17669: Remove warning 'variable $kohaobj masks earlier > declaration in same scope' > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > t/db_dependent/Upload.t | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/t/db_dependent/Upload.t b/t/db_dependent/Upload.t >index 6af3fce..8f6add2 100644 >--- a/t/db_dependent/Upload.t >+++ b/t/db_dependent/Upload.t >@@ -185,7 +185,7 @@ subtest 'Test delete via UploadedFile as well as UploadedFiles' => sub { > > # add another one with TestBuilder and delete twice (file does not exist) > $upload01 = $builder->build({ source => 'UploadedFile' }); >- my $kohaobj = Koha::UploadedFiles->find( $upload01->{id} ); >+ $kohaobj = Koha::UploadedFiles->find( $upload01->{id} ); > $delete = $kohaobj->delete({ keep_file => 1 }); > $delete = $kohaobj->delete({ keep_file => 1 }); > ok( $delete =~ /^(0E0|-1)$/, 'Repeated delete unsuccessful' ); >-- >2.9.3
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 17669
:
58176
|
58177
|
58178
|
58179
|
58810
|
58811
|
58812
|
61239
|
61240
|
61241
|
61242
|
61243
|
61465
|
61466
|
61467
|
61468
|
61469
|
61727
|
61729
|
61730
|
61742
|
61743
|
61805
|
61809
|
61818
|
61819
|
62486
|
62487
|
62488
|
62489
|
62490
|
62491
|
62492
|
62493
|
62494
| 62495