]> git.mxchange.org Git - friendica.git/blobdiff - mod/notes.php
Merge remote-tracking branch 'upstream/develop' into 1706-lock
[friendica.git] / mod / notes.php
index d9222dca5104a41b8f57c4794f228330cf5c5c1b..835627586cada10d58b75113a1783e4a852f4386 100644 (file)
@@ -1,6 +1,8 @@
 <?php
 
-function notes_init(&$a) {
+use Friendica\App;
+
+function notes_init(App $a) {
 
        if (! local_user()) {
                return;
@@ -17,7 +19,7 @@ function notes_init(&$a) {
 }
 
 
-function notes_content(&$a,$update = false) {
+function notes_content(App $a, $update = false) {
 
        if (! local_user()) {
                notice( t('Permission denied.') . EOL);