clean up the photo storage backend, revamp mod/wall_upload

This commit is contained in:
friendica
2013-01-22 17:48:42 -08:00
parent beb3301d43
commit cf2488e999
12 changed files with 135 additions and 422 deletions

View File

@@ -6,9 +6,10 @@ function intro_post(&$a) {
if(! intval($_REQUEST['contact_id']))
return;
$approved = false;
$flags = 0;
if($_REQUEST['submit'] == t('Approve')) {
;
$approved = true;
}
elseif($_REQUEST['submit'] == t('Block')) {
$flags = ABOOK_FLAG_BLOCKED;
@@ -29,6 +30,10 @@ function intro_post(&$a) {
else
notice( t('Connection update failed.') . EOL);
if($approved)
goaway(z_root() . '/connections/' . $_REQUEST['contact_id']);
}
function intro_aside(&$a) {