<?php
-function notes_init(&$a) {
+function notes_init(App $a) {
- if(! local_user())
+ if (! local_user()) {
return;
+ }
$profile = 0;
}
-function notes_content(&$a,$update = false) {
+function notes_content(App $a, $update = false) {
- if(! local_user()) {
+ if (! local_user()) {
notice( t('Permission denied.') . EOL);
return;
}