[Slim-Checkins] r10747 - /trunk/server/Slim/Web/Settings/Player/Basic.pm

dsully at svn.slimdevices.com dsully at svn.slimdevices.com
Wed Nov 22 11:00:47 PST 2006


Author: dsully
Date: Wed Nov 22 11:00:47 2006
New Revision: 10747

URL: http://svn.slimdevices.com?rev=10747&view=rev
Log:
Bug: N/A
Description: Import string()

Modified:
    trunk/server/Slim/Web/Settings/Player/Basic.pm

Modified: trunk/server/Slim/Web/Settings/Player/Basic.pm
URL: http://svn.slimdevices.com/trunk/server/Slim/Web/Settings/Player/Basic.pm?rev=10747&r1=10746&r2=10747&view=diff
==============================================================================
--- trunk/server/Slim/Web/Settings/Player/Basic.pm (original)
+++ trunk/server/Slim/Web/Settings/Player/Basic.pm Wed Nov 22 11:00:47 2006
@@ -11,6 +11,7 @@
 use base qw(Slim::Web::Settings);
 
 use Slim::Utils::Log;
+use Slim::Utils::Strings qw(string);
 
 sub name {
 	return 'BASIC_PLAYER_SETTINGS';
@@ -122,8 +123,8 @@
 	if (defined $client->revision) {
 
 		$paramRef->{'versionInfo'} = sprintf("%s%s%s", 
-			Slim::Utils::Strings::string("PLAYER_VERSION"),
-			Slim::Utils::Strings::string("COLON"),
+			string("PLAYER_VERSION"),
+			string("COLON"),
 			$client->revision,
 		);
 	}
@@ -150,9 +151,9 @@
 
 	for my $item (Slim::Utils::Prefs::getArray($pref)) {
 
-		if (Slim::Utils::Strings::stringExists($item)) {
-
-			$prefs{$i++} = Slim::Utils::Strings::string($item);
+		if (stringExists($item)) {
+
+			$prefs{$i++} = string($item);
 
 		} else {
 



More information about the checkins mailing list