diff options
author | redmatrix <redmatrix@redmatrix.me> | 2015-08-05 21:42:00 -0700 |
---|---|---|
committer | redmatrix <redmatrix@redmatrix.me> | 2015-08-05 21:42:00 -0700 |
commit | dfb8a1b2d410eb27a647b967d857207162fa6540 (patch) | |
tree | 32a9ab1f310a99a8304dd57f40e75b7ddfe00389 /include | |
parent | cb8f0a0e0f45629d5690f852cbfa7a01b9220f0b (diff) | |
download | volse-hubzilla-dfb8a1b2d410eb27a647b967d857207162fa6540.tar.gz volse-hubzilla-dfb8a1b2d410eb27a647b967d857207162fa6540.tar.bz2 volse-hubzilla-dfb8a1b2d410eb27a647b967d857207162fa6540.zip |
photo album is decided in dav or attach modules now - don't set it in photos_upload
Diffstat (limited to 'include')
-rw-r--r-- | include/photos.php | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/include/photos.php b/include/photos.php index dced14705..d36c75b5e 100644 --- a/include/photos.php +++ b/include/photos.php @@ -34,16 +34,16 @@ function photo_upload($channel, $observer, $args) { */ $album = $args['album']; - $newalbum = $args['newalbum']; +// $newalbum = $args['newalbum']; - logger('photo_upload: album= ' . $album . ' newalbum= ' . $newalbum , LOGGER_DEBUG); +// logger('photo_upload: album= ' . $album . ' newalbum= ' . $newalbum , LOGGER_DEBUG); - if(! $album) { - if($newalbum) - $album = $newalbum; - else - $album = datetime_convert('UTC',date_default_timezone_get(),'now', 'Y-m'); - } +// if(! $album) { +// if($newalbum) +// $album = $newalbum; +// else +// $album = datetime_convert('UTC',date_default_timezone_get(),'now', 'Y-m'); +// } if(intval($args['visible']) || $args['visible'] === 'true') $visible = 1; |