]> git.mxchange.org Git - friendica.git/blobdiff - mod/starred.php
Merge pull request #3483 from rabuzarus/20170522_-_frio_event_button_fix
[friendica.git] / mod / starred.php
index beaa3b87d50d105e8e6b428a03b19188293168bd..e1b38cfc4c9133edf547eeb59303ec81f2b24aec 100644 (file)
@@ -1,7 +1,8 @@
 <?php
 
+use Friendica\App;
 
-function starred_init(&$a) {
+function starred_init(App $a) {
 
        require_once("include/threads.php");
 
@@ -43,8 +44,7 @@ function starred_init(&$a) {
                $rand = '_=' . time();
                if (strpos($return_path, '?')) {
                        $rand = "&$rand";
-               }
-               else {
+               } else {
                        $rand = "?$rand";
                }