]> git.mxchange.org Git - friendica.git/blobdiff - mod/pretheme.php
Merge pull request #3110 from tobiasd/20170127-translationdocs
[friendica.git] / mod / pretheme.php
index 5d1c261fcb8dcceebdcf8b5a46e5c5db7e77a5f5..6dd6b781ac3837e25db989ea261f6650be9d739d 100644 (file)
@@ -1,7 +1,6 @@
 <?php
 
-if(! function_exists('pretheme_init')) {
-function pretheme_init(&$a) {
+function pretheme_init(App $a) {
 
        if($_REQUEST['theme']) {
                $theme = $_REQUEST['theme'];
@@ -21,4 +20,3 @@ function pretheme_init(&$a) {
        }
        killme();
 }
-}