[Slim-Checkins] r10556 - /trunk/server/Slim/Utils/Cache.pm
andy at svn.slimdevices.com
andy at svn.slimdevices.com
Thu Nov 2 08:35:01 PST 2006
Author: andy
Date: Thu Nov 2 08:34:59 2006
New Revision: 10556
URL: http://svn.slimdevices.com?rev=10556&view=rev
Log:
Keep backwards-compat for Cache->instance
Modified:
trunk/server/Slim/Utils/Cache.pm
Modified: trunk/server/Slim/Utils/Cache.pm
URL: http://svn.slimdevices.com/trunk/server/Slim/Utils/Cache.pm?rev=10556&r1=10555&r2=10556&view=diff
==============================================================================
--- trunk/server/Slim/Utils/Cache.pm (original)
+++ trunk/server/Slim/Utils/Cache.pm Thu Nov 2 08:34:59 2006
@@ -97,6 +97,9 @@
Slim::Utils::Timers::setTimer( undef, time() + 10, \&cleanup );
}
+# Backwards-compat
+*instance = \&new;
+
sub new {
my $class = shift;
my $namespace = shift || $defaultNameSpace;
More information about the checkins
mailing list