aboutsummaryrefslogtreecommitdiffstats
path: root/include/photos.php
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-09-05 17:35:00 -0700
committerredmatrix <redmatrix@redmatrix.me>2015-09-05 17:35:00 -0700
commit55ab968edf93c4c903e2a88e0eed94741cc80fb6 (patch)
tree8f0c2195237ebf972f9a0181280f22772d969e5e /include/photos.php
parent3f6d6745def41da7ab2abc04eb0554f2a27a085d (diff)
downloadvolse-hubzilla-55ab968edf93c4c903e2a88e0eed94741cc80fb6.tar.gz
volse-hubzilla-55ab968edf93c4c903e2a88e0eed94741cc80fb6.tar.bz2
volse-hubzilla-55ab968edf93c4c903e2a88e0eed94741cc80fb6.zip
make js_upload work with hubzilla. It still needs a rewrite.
Diffstat (limited to 'include/photos.php')
-rw-r--r--include/photos.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/photos.php b/include/photos.php
index b4129fbf1..25818124a 100644
--- a/include/photos.php
+++ b/include/photos.php
@@ -27,7 +27,7 @@ function photo_upload($channel, $observer, $args) {
return $ret;
}
- call_hooks('photo_upload_begin', $args);
+// call_hooks('photo_upload_begin', $args);
/*
* Determine the album to use
@@ -84,7 +84,7 @@ function photo_upload($channel, $observer, $args) {
} else {
$f = array('src' => '', 'filename' => '', 'filesize' => 0, 'type' => '');
- call_hooks('photo_upload_file',$f);
+// call_hooks('photo_upload_file',$f);
if (x($f,'src') && x($f,'filesize')) {
$src = $f['src'];