]> git.mxchange.org Git - friendica.git/blobdiff - mod/share.php
Normalize App parameter declaration (mod folder, 3 out of 3)
[friendica.git] / mod / share.php
index f2e016708fef321a74937e3c8c9be93e5ba87401..928ccdef263efc45b7f24f66c6c8c123f945888a 100644 (file)
@@ -1,12 +1,12 @@
 <?php
-function share_init(App &$a) {
+function share_init(App $a) {
 
        $post_id = (($a->argc > 1) ? intval($a->argv[1]) : 0);
        if((! $post_id) || (! local_user()))
                killme();
 
-       $r = q("SELECT item.*, contact.network FROM `item` 
-               inner join contact on `item`.`contact-id` = `contact`.`id` 
+       $r = q("SELECT item.*, contact.network FROM `item`
+               inner join contact on `item`.`contact-id` = `contact`.`id`
                WHERE `item`.`id` = %d AND `item`.`uid` = %d LIMIT 1",
 
                intval($post_id),