initialize array
This commit is contained in:
parent
a921ad8925
commit
8052d2901d
|
@ -309,6 +309,7 @@ class Storage {
|
||||||
private static function getAllVersions($uid) {
|
private static function getAllVersions($uid) {
|
||||||
$view = new \OC\Files\View('/' . $uid . '/');
|
$view = new \OC\Files\View('/' . $uid . '/');
|
||||||
$dirs = array(self::VERSIONS_ROOT);
|
$dirs = array(self::VERSIONS_ROOT);
|
||||||
|
$versions = array();
|
||||||
|
|
||||||
while (!empty($dirs)) {
|
while (!empty($dirs)) {
|
||||||
$dir = array_pop($dirs);
|
$dir = array_pop($dirs);
|
||||||
|
|
Loading…
Reference in New Issue