aboutsummaryrefslogtreecommitdiffstats
path: root/include/RedDAV
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-07-30 20:37:32 -0700
committerredmatrix <redmatrix@redmatrix.me>2015-07-30 20:37:32 -0700
commit1d218784d180deb0946cb5dd4100ed0ebd489346 (patch)
treea4016b0293b43739baf31ac5506e1a9903bd7f83 /include/RedDAV
parentf45cb8cf1f89df96fc78573eb7278d6f240f54d3 (diff)
downloadvolse-hubzilla-1d218784d180deb0946cb5dd4100ed0ebd489346.tar.gz
volse-hubzilla-1d218784d180deb0946cb5dd4100ed0ebd489346.tar.bz2
volse-hubzilla-1d218784d180deb0946cb5dd4100ed0ebd489346.zip
undefined function
Diffstat (limited to 'include/RedDAV')
-rw-r--r--include/RedDAV/RedFile.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/RedDAV/RedFile.php b/include/RedDAV/RedFile.php
index 31fdb39b2..0a021b5ed 100644
--- a/include/RedDAV/RedFile.php
+++ b/include/RedDAV/RedFile.php
@@ -165,6 +165,7 @@ class RedFile extends DAV\Node implements DAV\IFile {
);
if($is_photo) {
+ require_once('include/photos.php');
$args = array( 'resource_id' => $this->data['hash'], 'album' => $album, 'os_path' => $f, 'filename' => $r[0]['filename'], 'getimagesize' => $gis );
$p = photo_upload($c[0],$this->auth->observer,$args);
}