require_once("include/contact_selectors.php");
require_once("include/network.php");
-function notifications_post(&$a) {
+function notifications_post(App &$a) {
- if(! local_user()) {
+ if (! local_user()) {
goaway(z_root());
}
}
}
-function notifications_content(&$a) {
+function notifications_content(App &$a) {
- if(! local_user()) {
+ if (! local_user()) {
notice( t('Permission denied.') . EOL);
return;
}