~ubuntu-branches/ubuntu/trusty/torrus/trusty-proposed

« back to all changes in this revision

Viewing changes to perllib/Torrus/Renderer.pm

  • Committer: Bazaar Package Importer
  • Author(s): Marc Haber, Upstream changes relevant for Debian, Jurij Smakov, Marc Haber
  • Date: 2006-07-24 13:08:45 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20060724130845-zmew22g8p6g2vmz3
Tags: 1.0.4-1
[ Upstream changes relevant for Debian ]
* New upstream release.

[ Jurij Smakov ]
* Expand the copyright file to include the information about all
  authors and copyright holders.
* Use invoke-rc.d instead of invoking the init script directly
  in maintainer scripts.

[ Marc Haber ]
* Standards-Version: 3.7.2 (no changes needed)
* Move debhelper and dpatch to Build-Depends.

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
#  along with this program; if not, write to the Free Software
15
15
#  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
16
16
 
17
 
# $Id: Renderer.pm,v 1.7 2005/07/20 07:17:10 ssinyagin Exp $
 
17
# $Id: Renderer.pm,v 1.9 2006/04/18 09:36:51 ssinyagin Exp $
18
18
# Stanislav Sinyagin <ssinyagin@yahoo.com>
19
19
 
20
20
package Torrus::Renderer;
84
84
    {
85
85
        $self->{'options'} = \%new_options;
86
86
    }
 
87
    else
 
88
    {
 
89
        $self->{'options'} = {};
 
90
    }
87
91
 
88
92
    $self->checkAndClearCache( $config_tree );
89
93
 
140
144
    ($t_expires, $mime_type) =
141
145
        $self->$method( $config_tree, $token, $view, $cachefile );
142
146
 
143
 
    if( %new_options )
144
 
    {
145
 
        delete $self->{'options'};
146
 
    }
 
147
    $self->{'options'} = undef;
147
148
 
148
149
    my @ret;
149
150
    if( defined($t_expires) and defined($mime_type) )