Missing dir added.

This commit is contained in:
Johannes Willnecker 2012-07-05 21:42:39 +02:00 committed by Jörn Friedrich Dreyer
parent 570ea787f1
commit 02c9b03b8e

View file

@ -30,6 +30,7 @@ class DatabaseManager {
$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;
}