aboutsummaryrefslogtreecommitdiffstats
path: root/apps/gallery/lib/managers.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/gallery/lib/managers.php
parent7152b8b4ee2f0d4de640868b614992e8aaf00803 (diff)
downloadnextcloud-server-c9be9ab251681d96cfb620ca26778ba0005023d3.tar.gz
nextcloud-server-c9be9ab251681d96cfb620ca26778ba0005023d3.zip
remove unused variables
Diffstat (limited to 'apps/gallery/lib/managers.php')
-rw-r--r--apps/gallery/lib/managers.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/apps/gallery/lib/managers.php b/apps/gallery/lib/managers.php
index b6ade3d1b1e..575d962dbe3 100644
--- a/apps/gallery/lib/managers.php
+++ b/apps/gallery/lib/managers.php
@@ -29,7 +29,6 @@ class DatabaseManager {
$stmt = \OCP\DB::prepare('INSERT INTO *PREFIX*pictures_images_cache (uid_owner, path, width, height) VALUES (?, ?, ?, ?)');
$stmt->execute(array(\OCP\USER::getUser(), $path, $width, $height));
$ret = array('path' => $path, 'width' => $width, 'height' => $height);
- unset($image);
$dir = dirname($path);
$this->cache[$dir][$path] = $ret;
return $ret;