diff options
author | Friendika <info@friendika.com> | 2011-08-17 20:52:18 -0700 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-08-17 20:52:18 -0700 |
commit | c30f523c6200ef84c506940b5f86b49ff2c7cf6e (patch) | |
tree | 2f9787a5040cd679bc212094748eb02ab41239bb /mod | |
parent | ff723caae3208b6f6da555d2a5b8375b4d74fd73 (diff) | |
download | volse-hubzilla-c30f523c6200ef84c506940b5f86b49ff2c7cf6e.tar.gz volse-hubzilla-c30f523c6200ef84c506940b5f86b49ff2c7cf6e.tar.bz2 volse-hubzilla-c30f523c6200ef84c506940b5f86b49ff2c7cf6e.zip |
more d* infrastructure for relaying signed messages and storing non-connected people details
Diffstat (limited to 'mod')
-rw-r--r-- | mod/like.php | 6 | ||||
-rw-r--r-- | mod/wall_upload.php | 2 |
2 files changed, 2 insertions, 6 deletions
diff --git a/mod/like.php b/mod/like.php index 966fe500b..287630212 100644 --- a/mod/like.php +++ b/mod/like.php @@ -19,14 +19,10 @@ function like_content(&$a) { switch($verb) { case 'like': - $activity = ACTIVITY_LIKE; - break; - case 'dislike': - $activity = ACTIVITY_DISLIKE; - break; case 'unlike': $activity = ACTIVITY_LIKE; break; + case 'dislike': case 'undislike': $activity = ACTIVITY_DISLIKE; break; diff --git a/mod/wall_upload.php b/mod/wall_upload.php index dd2197d7c..b34f2cf6b 100644 --- a/mod/wall_upload.php +++ b/mod/wall_upload.php @@ -55,7 +55,7 @@ function wall_upload_post(&$a) { if(($maximagesize) && ($filesize > $maximagesize)) { echo sprintf( t('Image exceeds size limit of %d'), $maximagesize) . EOL; @unlink($src); - return; + killme(); } $imagedata = @file_get_contents($src); |