summaryrefslogtreecommitdiffstats
path: root/apps/media/lib_collection.php
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2012-07-20 18:56:18 +0200
committerRobin Appelman <icewind@owncloud.com>2012-07-20 18:56:18 +0200
commitc9be9ab251681d96cfb620ca26778ba0005023d3 (patch)
tree9546e40b893abf3970ba7554edcf7829d782314d /apps/media/lib_collection.php
parent7152b8b4ee2f0d4de640868b614992e8aaf00803 (diff)
downloadnextcloud-server-c9be9ab251681d96cfb620ca26778ba0005023d3.tar.gz
nextcloud-server-c9be9ab251681d96cfb620ca26778ba0005023d3.zip
remove unused variables
Diffstat (limited to 'apps/media/lib_collection.php')
-rw-r--r--apps/media/lib_collection.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/media/lib_collection.php b/apps/media/lib_collection.php
index e65930f551d..cacab8e959f 100644
--- a/apps/media/lib_collection.php
+++ b/apps/media/lib_collection.php
@@ -27,7 +27,6 @@ class OC_MEDIA_COLLECTION{
public static $uid;
private static $artistIdCache=array();
private static $albumIdCache=array();
- private static $songIdCache=array();
private static $queries=array();
/**
@@ -152,7 +151,7 @@ class OC_MEDIA_COLLECTION{
return $artistId;
}else{
$query=OCP\DB::prepare("INSERT INTO `*PREFIX*media_artists` (`artist_name`) VALUES (?)");
- $result=$query->execute(array($name));
+ $query->execute(array($name));
return self::getArtistId($name);;
}
}