Bug 14168: (followup) require WWW::YouTube::Download only when syspref enabled
authorMirko Tietgen <mirko@abunchofthings.net>
Thu, 3 Mar 2016 06:58:55 +0000 (07:58 +0100)
committerBrendan A Gallagher <brendan@bywatersolutions.com>
Thu, 3 Mar 2016 18:47:03 +0000 (18:47 +0000)
commit10cbf64b24be481d3c668c0d7015dfec32d485b5
treebbb170dcc926506fe74914ddac41a841ac550405
parent348cfe6e0aa49e5149eef2bd8e6eda75a7706e60
 Bug 14168: (followup) require WWW::YouTube::Download only when syspref enabled

This patch fixes the problem of missing WWW::YouTube::Download breaking
record detail views. Instead of a general 'use', the module is only
required if the related syspref is enabled.

Signed-off-by: Jesse Weaver <jweaver@bywatersolutions.com>
Signed-off-by: Brendan A Gallagher <brendan@bywatersolutions.com>
C4/HTML5Media.pm