Bugzilla – Attachment 52394 Details for
Bug 16720
DBIx ActionLogs.pm should be removed
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 16720: Remove DBIx ActionLogs.pm
Bug-16720-Remove-DBIx-ActionLogspm.patch (text/plain), 2.86 KB, created by
Jonathan Druart
on 2016-06-14 16:00:28 UTC
(
hide
)
Description:
Bug 16720: Remove DBIx ActionLogs.pm
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2016-06-14 16:00:28 UTC
Size:
2.86 KB
patch
obsolete
>From 3872b5cfd2f2b0bcb33f712f48a5376a6aeadb45 Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Mon, 13 Jun 2016 13:04:25 -0300 >Subject: [PATCH] Bug 16720: Remove DBIx ActionLogs.pm > >The update_dbix_class_files.pl script generates ActionLog.pm instead, which is >already on the source tree. > >To test: >- Apply the patch >=> SUCCESS: Koha/Schema/Result/ActionLogs.pm is removed >- Run: > $ mysql -uroot > > CREATE DATABASE dbic; \q > $ mysql -uroot dbic < kohaclone/installer/data/mysql/kohastructure.sql > $ misc/devel/update_dbix_class_files.pl --db_name dbic --db_user root >=> SUCCESS: Koha/Schema/Result/ActionLogs.pm is not re-generated >- Run: > $ git grep ActionLogs >=> SUCCESS: There's no code using it >- Sign off > >Signed-off-by: Srdjan <srdjan@catalyst.net.nz> > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > Koha/Schema/Result/ActionLogs.pm | 90 ---------------------------------------- > 1 file changed, 90 deletions(-) > delete mode 100644 Koha/Schema/Result/ActionLogs.pm > >diff --git a/Koha/Schema/Result/ActionLogs.pm b/Koha/Schema/Result/ActionLogs.pm >deleted file mode 100644 >index 13b8cc2..0000000 >--- a/Koha/Schema/Result/ActionLogs.pm >+++ /dev/null >@@ -1,90 +0,0 @@ >-package Koha::Schema::Result::ActionLogs; >- >-# Created by DBIx::Class::Schema::Loader >-# DO NOT MODIFY THE FIRST PART OF THIS FILE >- >-use strict; >-use warnings; >- >-use base 'DBIx::Class::Core'; >- >- >-=head1 NAME >- >-Koha::Schema::Result::ActionLogs >- >-=cut >- >-__PACKAGE__->table("action_logs"); >- >-=head1 ACCESSORS >- >-=head2 action_id >- >- data_type: 'integer' >- is_auto_increment: 1 >- is_nullable: 0 >- >-=head2 timestamp >- >- data_type: 'timestamp' >- default_value: current_timestamp >- is_nullable: 0 >- >-=head2 user >- >- data_type: 'integer' >- default_value: 0 >- is_nullable: 0 >- >-=head2 module >- >- data_type: 'text' >- is_nullable: 1 >- >-=head2 action >- >- data_type: 'text' >- is_nullable: 1 >- >-=head2 object >- >- data_type: 'integer' >- is_nullable: 1 >- >-=head2 info >- >- data_type: 'text' >- is_nullable: 1 >- >-=cut >- >-__PACKAGE__->add_columns( >- "action_id", >- { data_type => "integer", is_auto_increment => 1, is_nullable => 0 }, >- "timestamp", >- { >- data_type => "timestamp", >- default_value => \"current_timestamp", >- is_nullable => 0, >- }, >- "user", >- { data_type => "integer", default_value => 0, is_nullable => 0 }, >- "module", >- { data_type => "text", is_nullable => 1 }, >- "action", >- { data_type => "text", is_nullable => 1 }, >- "object", >- { data_type => "integer", is_nullable => 1 }, >- "info", >- { data_type => "text", is_nullable => 1 }, >-); >-__PACKAGE__->set_primary_key("action_id"); >- >- >-# Created by DBIx::Class::Schema::Loader v0.07000 @ 2012-09-02 08:44:15 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:9VN0SGNBYM/thO7QzQB4Bg >- >- >-# You can replace this text with custom content, and it will be preserved on regeneration >-1; >-- >2.8.1
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 16720
:
52322
|
52345
| 52394