summaryrefslogtreecommitdiffstats
path: root/apps/files_versions/lib/versions.php
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2014-06-18 13:23:53 +0200
committerBjoern Schiessle <schiessle@owncloud.com>2014-06-18 13:23:53 +0200
commit8052d2901dfcfba8e6fb2d37e19275536324ee43 (patch)
tree4161197f3cc31c11066c8237703e2eb091e9d0a9 /apps/files_versions/lib/versions.php
parenta921ad89259f1d580292d649a58160fab7a2a2d7 (diff)
downloadnextcloud-server-8052d2901dfcfba8e6fb2d37e19275536324ee43.tar.gz
nextcloud-server-8052d2901dfcfba8e6fb2d37e19275536324ee43.zip
initialize array
Diffstat (limited to 'apps/files_versions/lib/versions.php')
-rw-r--r--apps/files_versions/lib/versions.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/files_versions/lib/versions.php b/apps/files_versions/lib/versions.php
index b912fc8ba76..4e6004808d2 100644
--- a/apps/files_versions/lib/versions.php
+++ b/apps/files_versions/lib/versions.php
@@ -309,6 +309,7 @@ class Storage {
private static function getAllVersions($uid) {
$view = new \OC\Files\View('/' . $uid . '/');
$dirs = array(self::VERSIONS_ROOT);
+ $versions = array();
while (!empty($dirs)) {
$dir = array_pop($dirs);