clean up the photo storage backend, revamp mod/wall_upload
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user