]> git.mxchange.org Git - friendica.git/blobdiff - mod/crepair.php
added more spaces (CR request)
[friendica.git] / mod / crepair.php
index 66faadb06a0483bf0fcc3503e773a58574efb673..902a129303972a7e18b7c426f84aff37231c5fc8 100644 (file)
@@ -2,9 +2,10 @@
 require_once("include/contact_selectors.php");
 require_once("mod/contacts.php");
 
-function crepair_init(&$a) {
-       if(! local_user())
+function crepair_init(App $a) {
+       if (! local_user()) {
                return;
+       }
 
        $contact_id = 0;
 
@@ -29,10 +30,10 @@ function crepair_init(&$a) {
        }
 }
 
-
-function crepair_post(&$a) {
-       if(! local_user())
+function crepair_post(App $a) {
+       if (! local_user()) {
                return;
+       }
 
        $cid = (($a->argc > 1) ? intval($a->argv[1]) : 0);
 
@@ -95,9 +96,9 @@ function crepair_post(&$a) {
 
 
 
-function crepair_content(&$a) {
+function crepair_content(App $a) {
 
-       if(! local_user()) {
+       if (! local_user()) {
                notice( t('Permission denied.') . EOL);
                return;
        }