Bugzilla – Attachment 85749 Details for
Bug 22363
Move C4::Logs::GetLogs to Koha namespace
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 22363: Add Koha::ActionLog[s] objects
Bug-22363-Add-KohaActionLogs-objects.patch (text/plain), 3.07 KB, created by
Josef Moravec
on 2019-02-26 20:21:11 UTC
(
hide
)
Description:
Bug 22363: Add Koha::ActionLog[s] objects
Filename:
MIME Type:
Creator:
Josef Moravec
Created:
2019-02-26 20:21:11 UTC
Size:
3.07 KB
patch
obsolete
>From 4e34ccc2ae36ee7a92f72eb1b5c3f334e1dbc05c Mon Sep 17 00:00:00 2001 >From: Josef Moravec <josef.moravec@gmail.com> >Date: Mon, 18 Feb 2019 13:28:34 +0000 >Subject: [PATCH] Bug 22363: Add Koha::ActionLog[s] objects > >Signed-off-by: Andrew Isherwood <andrew.isherwood@ptfs-europe.com> > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > Koha/ActionLog.pm | 44 ++++++++++++++++++++++++++++++++++++++++++++ > Koha/ActionLogs.pm | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++ > 2 files changed, 96 insertions(+) > create mode 100644 Koha/ActionLog.pm > create mode 100644 Koha/ActionLogs.pm > >diff --git a/Koha/ActionLog.pm b/Koha/ActionLog.pm >new file mode 100644 >index 0000000..b10ea6c >--- /dev/null >+++ b/Koha/ActionLog.pm >@@ -0,0 +1,44 @@ >+package Koha::ActionLog; >+ >+# Copyright 2015 Koha Development team >+# >+# 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 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. >+ >+use Modern::Perl; >+ >+use C4::Context; >+ >+use base qw(Koha::Object); >+ >+=head1 NAME >+ >+Koha::ActionLog - Koha ActionLog Object class >+ >+=head1 API >+ >+=head2 Class methods >+ >+=head2 Internal methods >+ >+=head3 _type >+ >+=cut >+ >+sub _type { >+ return 'ActionLog'; >+} >+ >+1; >diff --git a/Koha/ActionLogs.pm b/Koha/ActionLogs.pm >new file mode 100644 >index 0000000..6b707b6 >--- /dev/null >+++ b/Koha/ActionLogs.pm >@@ -0,0 +1,52 @@ >+package Koha::ActionLogs; >+ >+# Copyright 2019 Koha Development team >+# >+# 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 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. >+ >+use Modern::Perl; >+ >+use C4::Context; >+ >+use base qw(Koha::Objects); >+ >+use Koha::ActionLog; >+ >+=head1 NAME >+ >+Koha::ActionLogs - Koha ActionLog Object set class >+ >+=head1 API >+ >+=head2 Class Methods >+ >+=cut >+ >+=head2 Internal Methods >+ >+=head3 _type >+ >+=cut >+ >+sub _type { >+ return 'ActionLog'; >+} >+ >+sub object_class { >+ return 'Koha::ActionLog'; >+} >+ >+1; >-- >2.1.4
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 22363
:
85248
|
85249
|
85250
|
85253
|
85254
|
85261
|
85594
|
85595
|
85596
|
85597
|
85632
|
85633
|
85634
|
85635
|
85636
|
85637
| 85749 |
85750
|
85751
|
85752
|
85753