]> source.dussan.org Git - nextcloud-server.git/commitdiff
initialize array
authorBjoern Schiessle <schiessle@owncloud.com>
Wed, 18 Jun 2014 11:23:53 +0000 (13:23 +0200)
committerBjoern Schiessle <schiessle@owncloud.com>
Wed, 18 Jun 2014 11:23:53 +0000 (13:23 +0200)
apps/files_versions/lib/versions.php

index b912fc8ba76d2cb3846f5cd3ca8e1e79d2285d01..4e6004808d25494cfe2a84f3366844200d72f58c 100644 (file)
@@ -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);