aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-08-05 21:42:00 -0700
committerredmatrix <redmatrix@redmatrix.me>2015-08-05 21:42:00 -0700
commitdfb8a1b2d410eb27a647b967d857207162fa6540 (patch)
tree32a9ab1f310a99a8304dd57f40e75b7ddfe00389
parentcb8f0a0e0f45629d5690f852cbfa7a01b9220f0b (diff)
downloadvolse-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
-rw-r--r--include/photos.php16
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;