[Rt-commit] [rtir] 01/01: Remove a useless callback.

Kevin Falcone falcone at bestpractical.com
Wed Aug 13 21:22:58 EDT 2014


This is an automated email from the git hooks/post-receive script.

falcone pushed a commit to branch master
in repository rtir.

commit 3d83e2b7334e4ded6fb112b18e3bbafcf25f83f6
Author: Kevin Falcone <falcone at bestpractical.com>
Date:   Wed Aug 13 21:15:42 2014 -0400

    Remove a useless callback.
    
    This callback tries to require RT::IR but it lives inside the RT::IR
    plugin which can only be loaded if RT::IR was loaded.  Loading RT::IR
    enables searching for callbacks in html/Callbacks/RTIR/, but if RT::IR
    was unloaded, we'd never be trying to search that director, so this
    would never run and catch the error.
    
    Can't have been useful since RTIR 1.0, was obsoleted with the
    introduction of Plugins in RT 3.8, used by RTIR 2.4.0.
---
 MANIFEST                                |  1 -
 html/Callbacks/RTIR/autohandler/Default | 55 ---------------------------------
 2 files changed, 56 deletions(-)

diff --git a/MANIFEST b/MANIFEST
index a26af5d..1ec0411 100644
--- a/MANIFEST
+++ b/MANIFEST
@@ -48,7 +48,6 @@ etc/upgrade/2.9.0/content
 etc/upgrade/3.0.0rc2/content
 etc/upgrade/3.1.0/content
 etc/upgrade/upgrade.pl.in
-html/Callbacks/RTIR/autohandler/Default
 html/Callbacks/RTIR/Elements/EditCustomField/EditComponentName
 html/Callbacks/RTIR/Elements/EditCustomFields/MassageCustomFields
 html/Callbacks/RTIR/Elements/Header/Head
diff --git a/html/Callbacks/RTIR/autohandler/Default b/html/Callbacks/RTIR/autohandler/Default
deleted file mode 100644
index 41375cb..0000000
--- a/html/Callbacks/RTIR/autohandler/Default
+++ /dev/null
@@ -1,55 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%#
-%# COPYRIGHT:
-%#
-%# This software is Copyright (c) 1996-2014 Best Practical Solutions, LLC
-%#                                          <sales at bestpractical.com>
-%#
-%# (Except where explicitly superseded by other copyright notices)
-%#
-%#
-%# LICENSE:
-%#
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%#
-%# This work 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 this program; if not, write to the Free Software
-%# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
-%# 02110-1301 or visit their web page on the internet at
-%# http://www.gnu.org/licenses/old-licenses/gpl-2.0.html.
-%#
-%#
-%# CONTRIBUTION SUBMISSION POLICY:
-%#
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%#
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%#
-%# END BPS TAGGED BLOCK }}}
-<%ONCE>
-eval {
-    require RT::IR;
-};
-if ( $@ ) {
-    RT->Logger->crit("System error. Couldn't load RTIR module(s): $@");
-}
-</%ONCE>

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the rt-commit mailing list