]> git.mxchange.org Git - friendica.git/blobdiff - mod/notes.php
add dop event & fix event edit
[friendica.git] / mod / notes.php
index d9222dca5104a41b8f57c4794f228330cf5c5c1b..c7cfe8d70f1a2d3e13f98249785b6fcf9073a7b1 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 
-function notes_init(&$a) {
+function notes_init(App $a) {
 
        if (! local_user()) {
                return;
@@ -17,7 +17,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);