friendica/mod/cb.php
fabrixxm b202e02fbf Revert "Updated modules to allow for partial overrides without errors"
This reverts commit db949bb802448184bfe5164d8d3dd86ddf51b187.
2016-02-07 15:11:34 +01:00

24 lines
320 B
PHP

<?php
/**
* General purpose landing page for plugins/addons
*/
function cb_init(&$a) {
call_hooks('cb_init');
}
function cb_post(&$a) {
call_hooks('cb_post', $_POST);
}
function cb_afterpost(&$a) {
call_hooks('cb_afterpost');
}
function cb_content(&$a) {
$o = '';
call_hooks('cb_content', $o);
return $o;
}