]> git.mxchange.org Git - friendica.git/blobdiff - src/Core/Theme.php
Merge pull request #10190 from annando/api-attached
[friendica.git] / src / Core / Theme.php
index 3548544e95d66cfebda85bc8de4b7f7376d8be63..e3b7f4bde85585bd34a5a12b6c8727c30d6e4d80 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2020, Friendica
+ * @copyright Copyright (C) 2010-2021, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -158,6 +158,8 @@ class Theme
                        if (function_exists($func)) {
                                $func();
                        }
+
+                       Hook::delete(['file' => "view/theme/$theme/theme.php"]);
                }
 
                $allowed_themes = Theme::getAllowedList();