aboutsummaryrefslogtreecommitdiffstats
path: root/include/photos.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/photos.php')
-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;