]> git.mxchange.org Git - friendica.git/blobdiff - src/Core/Theme.php
Merge pull request #5862 from nupplaphil/rename_App_Methods
[friendica.git] / src / Core / Theme.php
index fe38d09ede3ea0bbd06a6c4f518ce75c6d99b348..7e5b89d2f9c506146c2f8c96fd788c4627a0602f 100644 (file)
@@ -50,7 +50,7 @@ class Theme
                $a = get_app();
                $stamp1 = microtime(true);
                $theme_file = file_get_contents("view/theme/$theme/theme.php");
-               $a->save_timestamp($stamp1, "file");
+               $a->saveTimestamp($stamp1, "file");
 
                $result = preg_match("|/\*.*\*/|msU", $theme_file, $matches);
 
@@ -162,7 +162,7 @@ class Theme
                } else {
                        $parent = 'NOPATH';
                }
-               $theme = current_theme();
+               $theme = get_app()->getCurrentTheme();
                $thname = $theme;
                $ext = substr($file, strrpos($file, '.') + 1);
                $paths = [