more d* infrastructure for relaying signed messages and storing non-connected people details
This commit is contained in:
parent
ff723caae3
commit
c30f523c62
5 changed files with 52 additions and 9 deletions
|
@ -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;
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue