Revision 0f7977e6
Von Tamino Steinert vor 8 Monaten hinzugefügt
SL/File/Backend/Webdav.pm | ||
---|---|---|
65 | 65 |
sub get_version_count { |
66 | 66 |
my ($self, %params) = @_; |
67 | 67 |
die "no dbfile" unless $params{dbfile}; |
68 |
## TODO
|
|
69 |
# Webdav doesn't have versions by now. And delete checks for version, so return 0 for now
|
|
70 |
return 0;
|
|
68 |
# TODO: Webdav doesn't have versions by now.
|
|
69 |
my ($path, undef, undef) = $self->webdav_path($params{dbfile});
|
|
70 |
return (-f $path || 0) * 1; # return 1 if file is found otherwise 0
|
|
71 | 71 |
} |
72 | 72 |
|
73 | 73 |
sub get_mtime { |
Auch abrufbar als: Unified diff
S:F:B:Webdav: gebe richtige Anzahl an Versionen aus (0 oder 1) ...