Skip to content
Snippets Groups Projects
Commit 8052d290 authored by Björn Schießle's avatar Björn Schießle
Browse files

initialize array

parent a921ad89
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment