diff options
author | redmatrix <redmatrix@redmatrix.me> | 2015-08-05 20:54:32 -0700 |
---|---|---|
committer | redmatrix <redmatrix@redmatrix.me> | 2015-08-05 20:54:32 -0700 |
commit | cb8f0a0e0f45629d5690f852cbfa7a01b9220f0b (patch) | |
tree | 1d95711322015d7dfb5e21d10ef4980b85121cc0 /include/RedDAV/RedFile.php | |
parent | 03a833f2f8a1d68decc2c7ef85ddfff087ea4254 (diff) | |
download | volse-hubzilla-cb8f0a0e0f45629d5690f852cbfa7a01b9220f0b.tar.gz volse-hubzilla-cb8f0a0e0f45629d5690f852cbfa7a01b9220f0b.tar.bz2 volse-hubzilla-cb8f0a0e0f45629d5690f852cbfa7a01b9220f0b.zip |
uploaded photo from dav (file put, not dav create) not showing in photo album
Diffstat (limited to 'include/RedDAV/RedFile.php')
-rw-r--r-- | include/RedDAV/RedFile.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/RedDAV/RedFile.php b/include/RedDAV/RedFile.php index 0a021b5ed..d4eb6812a 100644 --- a/include/RedDAV/RedFile.php +++ b/include/RedDAV/RedFile.php @@ -167,7 +167,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); + $p = photo_upload($c[0],get_app()->get_observer(),$args); } // update the folder's lastmodified timestamp |