diff options
author | friendica <info@friendica.com> | 2012-08-11 18:54:23 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-08-11 18:54:23 -0700 |
commit | e80d69d25b816cda36e2c772db2805f2dc744bbe (patch) | |
tree | 1b5f9f40061639d41b22591ae29491964934dc05 /include/notifier.php | |
parent | cac2d408329c8ad0f2f7faed07c4615be12acdf5 (diff) | |
download | volse-hubzilla-e80d69d25b816cda36e2c772db2805f2dc744bbe.tar.gz volse-hubzilla-e80d69d25b816cda36e2c772db2805f2dc744bbe.tar.bz2 volse-hubzilla-e80d69d25b816cda36e2c772db2805f2dc744bbe.zip |
merge upstream
Diffstat (limited to 'include/notifier.php')
-rw-r--r-- | include/notifier.php | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/include/notifier.php b/include/notifier.php index d67f2dd3a..e6523f147 100644 --- a/include/notifier.php +++ b/include/notifier.php @@ -18,6 +18,31 @@ require_once('include/html2plain.php'); * us by hosting providers. */ +/* + * The notifier is typically called with: + * + * proc_run('php', "include/notifier.php", COMMAND, ITEM_ID); + * + * where COMMAND is one of the following: + * + * activity (in diaspora.php, dfrn_confirm.php, profiles.php) + * comment-import (in diaspora.php, items.php) + * comment-new (in item.php) + * drop (in diaspora.php, items.php, photos.php) + * edit_post (in item.php) + * event (in events.php) + * expire (in items.php) + * like (in like.php, poke.php) + * mail (in message.php) + * suggest (in fsuggest.php) + * tag (in photos.php, poke.php, tagger.php) + * tgroup (in items.php) + * wall-new (in photos.php, item.php) + * + * and ITEM_ID is the id of the item in the database that needs to be sent to others. + */ + + function notifier_run($argv, $argc){ global $a, $db; |