Normalize App parameter declaration (mod folder, 2 out of 3)
This commit is contained in:
parent
ee39aba490
commit
f92918f471
42 changed files with 133 additions and 133 deletions
|
@ -4,11 +4,11 @@
|
|||
*
|
||||
* Poke, prod, finger, or otherwise do unspeakable things to somebody - who must be a connection in your address book
|
||||
* This function can be invoked with the required arguments (verb and cid and private and possibly parent) silently via ajax or
|
||||
* other web request. You must be logged in and connected to a profile.
|
||||
* other web request. You must be logged in and connected to a profile.
|
||||
* If the required arguments aren't present, we'll display a simple form to choose a recipient and a verb.
|
||||
* parent is a special argument which let's you attach this activity as a comment to an existing conversation, which
|
||||
* may have started with somebody else poking (etc.) somebody, but this isn't necessary. This can be used in the more pokes
|
||||
* plugin version to have entire conversations where Alice poked Bob, Bob fingered Alice, Alice hugged Bob, etc.
|
||||
* plugin version to have entire conversations where Alice poked Bob, Bob fingered Alice, Alice hugged Bob, etc.
|
||||
*
|
||||
* private creates a private conversation with the recipient. Otherwise your profile's default post privacy is used.
|
||||
*
|
||||
|
@ -19,7 +19,7 @@ require_once('include/bbcode.php');
|
|||
require_once('include/items.php');
|
||||
|
||||
|
||||
function poke_init(App &$a) {
|
||||
function poke_init(App $a) {
|
||||
|
||||
if (! local_user()) {
|
||||
return;
|
||||
|
@ -148,7 +148,7 @@ function poke_init(App &$a) {
|
|||
|
||||
|
||||
|
||||
function poke_content(App &$a) {
|
||||
function poke_content(App $a) {
|
||||
|
||||
if (! local_user()) {
|
||||
notice( t('Permission denied.') . EOL);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue