src Standards
This basically completes coding standards changes for the entire src directory, with the exception of App.php
This commit is contained in:
parent
057984c69e
commit
609a4de5d0
15 changed files with 370 additions and 338 deletions
|
@ -485,7 +485,7 @@ class Delivery {
|
|||
break;
|
||||
|
||||
if ($mail) {
|
||||
Diaspora::send_mail($item,$owner,$contact);
|
||||
Diaspora::sendMail($item,$owner,$contact);
|
||||
break;
|
||||
}
|
||||
|
||||
|
@ -498,7 +498,7 @@ class Delivery {
|
|||
if (($target_item['deleted']) && (($target_item['uri'] === $target_item['parent-uri']) || $followup)) {
|
||||
// top-level retraction
|
||||
logger('diaspora retract: '.$loc);
|
||||
Diaspora::send_retraction($target_item,$owner,$contact,$public_message);
|
||||
Diaspora::sendRetraction($target_item,$owner,$contact,$public_message);
|
||||
break;
|
||||
} elseif ($relocate) {
|
||||
Diaspora::sendAccountMigration($owner, $contact, $uid);
|
||||
|
@ -506,17 +506,17 @@ class Delivery {
|
|||
} elseif ($followup) {
|
||||
// send comments and likes to owner to relay
|
||||
logger('diaspora followup: '.$loc);
|
||||
Diaspora::send_followup($target_item,$owner,$contact,$public_message);
|
||||
Diaspora::sendFollowup($target_item,$owner,$contact,$public_message);
|
||||
break;
|
||||
} elseif ($target_item['uri'] !== $target_item['parent-uri']) {
|
||||
// we are the relay - send comments, likes and relayable_retractions to our conversants
|
||||
logger('diaspora relay: '.$loc);
|
||||
Diaspora::send_relay($target_item,$owner,$contact,$public_message);
|
||||
Diaspora::sendRelay($target_item,$owner,$contact,$public_message);
|
||||
break;
|
||||
} elseif ($top_level && !$walltowall) {
|
||||
// currently no workable solution for sending walltowall
|
||||
logger('diaspora status: '.$loc);
|
||||
Diaspora::send_status($target_item,$owner,$contact,$public_message);
|
||||
Diaspora::sendStatus($target_item,$owner,$contact,$public_message);
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
|
@ -525,7 +525,7 @@ class Notifier {
|
|||
|
||||
if ($diaspora_delivery) {
|
||||
if (!$followup) {
|
||||
$r0 = Diaspora::relay_list();
|
||||
$r0 = Diaspora::relayList();
|
||||
}
|
||||
|
||||
$r1 = q("SELECT `batch`, ANY_VALUE(`id`) AS `id`, ANY_VALUE(`name`) AS `name`, ANY_VALUE(`network`) AS `network`
|
||||
|
|
|
@ -14,6 +14,6 @@ class ProfileUpdate {
|
|||
return;
|
||||
}
|
||||
|
||||
Diaspora::send_profile($uid);
|
||||
Diaspora::sendProfile($uid);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue