]> git.mxchange.org Git - friendica.git/commitdiff
Update namespace in mod/view
authorHypolite Petovan <hypolite@mrpetovan.com>
Mon, 7 Jan 2019 17:26:46 +0000 (12:26 -0500)
committerHypolite Petovan <hypolite@mrpetovan.com>
Mon, 21 Jan 2019 15:45:37 +0000 (10:45 -0500)
mod/view.php

index 94d1263f7cdb5d0e9135c6a466fc9df2ac4c6e99..640606bce1aeaca332705bf4c3c8b598584aa9ae 100644 (file)
@@ -1,10 +1,14 @@
 <?php
+
+use Friendica\App;
+
 /**
  * load view/theme/$current_theme/style.php with friendica context
  *
  * @param App $a
  */
-function view_init($a){
+function view_init(App $a)
+{
        header("Content-Type: text/css");
                
        if ($a->argc == 4){